| /netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 25 static bool checkForLiteralCreation(const ObjCMessageExpr *Msg, in checkForLiteralCreation() argument 28 if (!Msg || Msg->isImplicit() || !Msg->getMethodDecl()) in checkForLiteralCreation() 31 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation() 36 if (Msg->getReceiverKind() == ObjCMessageExpr::Class) in checkForLiteralCreation() 42 if (Msg->getReceiverKind() == ObjCMessageExpr::Instance) { in checkForLiteralCreation() 44 Msg->getInstanceReceiver()->IgnoreParenImpCasts())) { in checkForLiteralCreation() 58 bool edit::rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg, in rewriteObjCRedundantCallWithLiteral() argument 61 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) in rewriteObjCRedundantCallWithLiteral() 63 if (Msg->getNumArgs() != 1) in rewriteObjCRedundantCallWithLiteral() 66 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteObjCRedundantCallWithLiteral() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | Error.cpp | 28 const Twine &Msg) { in PrintMessage() argument 37 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); in PrintMessage() 45 void PrintNote(const Twine &Msg) { in PrintNote() argument 46 WithColor::note() << Msg << "\n"; in PrintNote() 49 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote() argument 50 PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg); in PrintNote() 55 void PrintFatalNote(const Twine &Msg) { in PrintFatalNote() argument 56 PrintNote(Msg); in PrintFatalNote() 62 void PrintFatalNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintFatalNote() argument 63 PrintNote(NoteLoc, Msg); in PrintFatalNote() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
| H A D | Error.h | 22 void PrintNote(const Twine &Msg); 23 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg); 25 LLVM_ATTRIBUTE_NORETURN void PrintFatalNote(const Twine &Msg); 27 const Twine &Msg); 29 const Twine &Msg); 31 const Twine &Msg); 33 void PrintWarning(const Twine &Msg); 34 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg); 35 void PrintWarning(const char *Loc, const Twine &Msg); 37 void PrintError(const Twine &Msg); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
| H A D | MCAsmParser.cpp | 54 bool MCAsmParser::parseEOL(const Twine &Msg) { in parseEOL() argument 56 return Error(getTok().getLoc(), Msg); in parseEOL() 61 bool MCAsmParser::parseToken(AsmToken::TokenKind T, const Twine &Msg) { in parseToken() argument 63 return parseEOL(Msg); in parseToken() 65 return Error(getTok().getLoc(), Msg); in parseToken() 70 bool MCAsmParser::parseIntToken(int64_t &V, const Twine &Msg) { in parseIntToken() argument 72 return TokError(Msg); in parseIntToken() 85 bool MCAsmParser::check(bool P, const Twine &Msg) { in check() argument 86 return check(P, getTok().getLoc(), Msg); in check() 89 bool MCAsmParser::check(bool P, SMLoc Loc, const Twine &Msg) { in check() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParserExtension.h | 70 bool Warning(SMLoc L, const Twine &Msg) { in Warning() argument 71 return getParser().Warning(L, Msg); in Warning() 74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) { 75 return getParser().Error(L, Msg, Range); 78 void Note(SMLoc L, const Twine &Msg) { in Note() argument 79 getParser().Note(L, Msg); in Note() 82 bool TokError(const Twine &Msg) { in TokError() argument 83 return getParser().TokError(Msg); in TokError() 89 const Twine &Msg = "unexpected token") { 90 return getParser().parseToken(T, Msg); [all …]
|
| H A D | MCAsmParser.h | 131 SmallString<64> Msg; member 212 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 217 virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 224 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None); 230 virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 237 printError(Err.Loc, Twine(Err.Msg), Err.Range); in printPendingErrors() 255 bool TokError(const Twine &Msg, SMRange Range = None); 258 bool parseToken(AsmToken::TokenKind T, const Twine &Msg = "unexpected token"); 271 bool check(bool P, const Twine &Msg); 272 bool check(bool P, SMLoc Loc, const Twine &Msg);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DiagnosticInfo.h | 288 const Twine &Msg, 291 LineNum(LineNum), Msg(Msg) {} in DiagnosticInfo() 292 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg, 295 Msg(Msg) {} in DiagnosticInfo() 296 DiagnosticInfoSampleProfile(const Twine &Msg, 298 : DiagnosticInfo(DK_SampleProfile, Severity), Msg(Msg) {} in DiagnosticInfo() 309 const Twine &getMsg() const { return Msg; } in getMsg() 320 const Twine &Msg; variable 326 DiagnosticInfoPGOProfile(const char *FileName, const Twine &Msg, 328 : DiagnosticInfo(DK_PGOProfile, Severity), FileName(FileName), Msg(Msg) {} in DiagnosticInfo() [all …]
|
| /netbsd-src/games/sail/ |
| H A D | pl_3.c | 114 Msg("'Avast there! Hold your fire.'"); in acceptcombat() 119 Msg("Belay that! Hold your fire."); in acceptcombat() 135 Msg("Raking the %s!", closest->shipname); in acceptcombat() 137 Msg("Stern Rake! %s splintering!", in acceptcombat() 201 Msg("Damage inflicted on the %s:", closest->shipname); in acceptcombat() 202 Msg("\t%d HULL, %d GUNS, %d CREW, %d RIGGING", in acceptcombat() 213 Msg("Unable to fire %s broadside", r ? "right" : "left"); in acceptcombat() 235 Msg("Attempt succeeds!"); in grapungrap() 238 Msg("Attempt fails."); in grapungrap() 246 Msg("Attempt succeeds!"); in grapungrap() [all …]
|
| H A D | pl_5.c | 66 Msg("Unable to move"); in acceptmove() 88 Msg("Ship can't turn that fast."); in acceptmove() 115 Msg("Can't move that fast."); in acceptmove() 127 Msg("Input error."); in acceptmove() 133 Msg("Movement error."); in acceptmove() 137 Msg("No hands to set full sails."); in acceptmove() 145 Msg("No hands to set full sails."); in acceptmove() 153 Msg("Helm: %s.", movebuf); in acceptmove() 230 Msg("Sending all crew sections."); in parties() 248 Msg("Sending no crew sections."); in parties()
|
| H A D | pl_1.c | 68 Msg("It looks like you've had it!"); in leave() 73 Msg("Your ship was captured."); in leave() 76 Msg("Hurricane! All ships destroyed."); in leave() 79 Msg("The driver died."); in leave() 82 Msg("Synchronization error."); in leave() 85 Msg("A funny thing happened (%d).", conditions); in leave()
|
| H A D | pl_2.c | 128 Msg("%s", version); in play() 146 Msg("'Hands to stations!'"); in play() 159 Msg("Broadsides unloaded"); in play() 162 Msg("Type 'Q' to quit"); in play() 174 Msg("No more ships left."); in play()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | Error.cpp | 64 GenericBinaryError::GenericBinaryError(const Twine &Msg) : Msg(Msg.str()) {} in GenericBinaryError() argument 66 GenericBinaryError::GenericBinaryError(const Twine &Msg, in GenericBinaryError() argument 68 : Msg(Msg.str()) { in GenericBinaryError() 73 OS << Msg; in log()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 151 CallEventRef<ObjCMethodCall> Msg = in VisitObjCMessage() local 183 if (Msg->isInstanceMessage()) { in VisitObjCMessage() 184 SVal recVal = Msg->getReceiverSVal(); in VisitObjCMessage() 208 *Msg, *this); in VisitObjCMessage() 210 finishArgumentConstruction(Dst, I, *Msg); in VisitObjCMessage() 232 *Msg, *this); in VisitObjCMessage() 235 *Msg, *this); in VisitObjCMessage() 245 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State); in VisitObjCMessage() 274 finishArgumentConstruction(dstArgCleanup, I, *Msg); in VisitObjCMessage() 278 *Msg, *this); in VisitObjCMessage() [all …]
|
| H A D | Checker.cpp | 28 StringRef Msg) in CheckerProgramPointTag() argument 29 : SimpleProgramPointTag(CheckerName, Msg) {} in CheckerProgramPointTag() 32 StringRef Msg) in CheckerProgramPointTag() argument 33 : SimpleProgramPointTag(Checker->getCheckerName().getName(), Msg) {} in CheckerProgramPointTag()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | DelayedDiagnostic.cpp | 30 StringRef Msg, in makeAvailability() argument 42 if (!Msg.empty()) { in makeAvailability() 43 MessageData = new char [Msg.size()]; in makeAvailability() 44 memcpy(MessageData, Msg.data(), Msg.size()); in makeAvailability() 47 DD.AvailabilityData.MessageLen = Msg.size(); in makeAvailability()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | TrustNonnullChecker.cpp | 95 void checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage() argument 97 const ObjCInterfaceDecl *ID = Msg.getReceiverInterface(); in checkPostObjCMessage() 106 (Msg.getSelector() == SetObjectForKeyedSubscriptSel || in checkPostObjCMessage() 107 Msg.getSelector() == SetObjectForKeySel)) { in checkPostObjCMessage() 108 if (auto L = Msg.getArgSVal(1).getAs<Loc>()) in checkPostObjCMessage() 114 (Msg.getSelector() == ObjectForKeyedSubscriptSel || in checkPostObjCMessage() 115 Msg.getSelector() == ObjectForKeySel)) { in checkPostObjCMessage() 116 SymbolRef ArgS = Msg.getArgSVal(0).getAsSymbol(); in checkPostObjCMessage() 117 SymbolRef RetS = Msg.getReturnValue().getAsSymbol(); in checkPostObjCMessage()
|
| H A D | NoReturnFunctionChecker.cpp | 87 void NoReturnFunctionChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage() argument 90 if (const ObjCMethodDecl *MD = Msg.getDecl()) { in checkPostObjCMessage() 109 if (!Msg.isInstanceMessage()) in checkPostObjCMessage() 112 const ObjCInterfaceDecl *Receiver = Msg.getReceiverInterface(); in checkPostObjCMessage() 118 Selector Sel = Msg.getSelector(); in checkPostObjCMessage()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | Error.cpp | 117 : Msg(S.str()), EC(EC) {} in StringError() 120 : Msg(S.str()), EC(EC), PrintMsgOnly(true) {} in StringError() 124 OS << Msg; in log() 127 if (!Msg.empty()) in log() 128 OS << (" " + Msg); in log() 136 Error createStringError(std::error_code EC, char const *Msg) { in createStringError() argument 137 return make_error<StringError>(Msg, EC); in createStringError()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/ |
| H A D | LLLexer.h | 69 bool Error(LocTy ErrorLoc, const Twine &Msg) const; 70 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } in Error() argument 72 void Warning(LocTy WarningLoc, const Twine &Msg) const; 73 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); } in Warning() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 62 SmallString<256> Msg; in PrintHeaderInfo() local 64 Msg += "Note: including file:"; in PrintHeaderInfo() 69 Msg += MSStyle ? ' ' : '.'; in PrintHeaderInfo() 72 Msg += ' '; in PrintHeaderInfo() 74 Msg += Pathname; in PrintHeaderInfo() 75 Msg += '\n'; in PrintHeaderInfo() 77 *OutputFile << Msg; in PrintHeaderInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 25 static inline Error createError(const Twine &Msg) { in createError() argument 26 return createStringError(object::object_error::parse_failed, Msg); in createError() 32 WarningHandler = [=](const Twine &Msg) { in ObjDumper() argument 33 if (Warnings.insert(Msg.str()).second) in ObjDumper() 34 reportWarning(createError(Msg), ObjName); in ObjDumper() 45 void ObjDumper::reportUniqueWarning(const Twine &Msg) const { in reportUniqueWarning() 46 cantFail(WarningHandler(Msg), in reportUniqueWarning()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | Error.h | 29 ClusteringError(const Twine &S) : Msg(S.str()) {} in ClusteringError() 36 std::string Msg; 44 SnippetCrash(const Twine &S) : Msg(S.str()) {} in SnippetCrash() 51 std::string Msg;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterInlineAsm.cpp | 261 raw_string_ostream Msg(msg); in EmitMSInlineAsmStr() local 262 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitMSInlineAsmStr() 263 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr() 443 raw_string_ostream Msg(msg); in EmitGCCInlineAsmStr() local 444 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitGCCInlineAsmStr() 445 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr() 531 std::string Msg = "inline asm clobber list contains reserved registers: "; in emitInlineAsm() local 534 Msg += LS; in emitInlineAsm() 535 Msg += TRI->getName(RR); in emitInlineAsm() 542 LocCookie, Msg.c_str(), DiagnosticSeverity::DS_Warning)); in emitInlineAsm() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | Error.h | 57 std::string Msg; in message() local 58 raw_string_ostream OS(Msg); in message() 708 inline void cantFail(Error Err, const char *Msg = nullptr) { 710 if (!Msg) 711 Msg = "Failure value returned from cantFail wrapped call"; 715 OS << Msg << "\n" << Err; 716 Msg = OS.str().c_str(); 718 llvm_unreachable(Msg); 736 T cantFail(Expected<T> ValOrErr, const char *Msg = nullptr) { 740 if (!Msg) [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | Error.h | 70 GenericBinaryError(const Twine &Msg); 71 GenericBinaryError(const Twine &Msg, object_error ECOverride); 72 const std::string &getMessage() const { return Msg; } in getMessage() 75 std::string Msg;
|