Searched defs:Msg (Results 1 - 25 of 60) sorted by relevance

123

/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) argument
33 : SM(sm), Loc(L), Message(Msg) {}
/external/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h39 const char *Msg)
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, const char *Msg) argument
/external/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp73 SmallString<256> Msg; local
74 llvm::raw_svector_ostream OS(Msg);
H A DHeaderIncludeGen.cpp114 SmallString<256> Msg; local
118 Msg += '.';
119 Msg += ' ';
121 Msg += Filename;
122 Msg += '\n';
124 OutputFile->write(Msg.data(), Msg.size());
/external/clang/lib/Sema/
H A DDelayedDiagnostic.cpp25 StringRef Msg) {
33 if (Msg.size()) {
34 MessageData = new char [Msg.size()];
35 memcpy(MessageData, Msg.data(), Msg.size());
39 DD.DeprecationData.MessageLen = Msg.size();
22 makeDeprecation(SourceLocation Loc, const NamedDecl *D, const ObjCInterfaceDecl *UnknownObjCClass, StringRef Msg) argument
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDivZeroChecker.cpp27 void reportBug(const char *Msg,
35 void DivZeroChecker::reportBug(const char *Msg, argument
42 BugReport *R = new BugReport(*BT, Msg, N);
H A DNoReturnFunctionChecker.cpp101 void NoReturnFunctionChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, argument
114 if (!Msg.isInstanceMessage())
117 const ObjCInterfaceDecl *Receiver = Msg.getReceiverInterface();
123 Selector Sel = Msg.getSelector();
H A DCallAndMessageChecker.cpp87 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); local
88 switch (Msg.getMessageKind()) {
92 assert(Msg.isSetter() && "Getters have no args");
95 if (Msg.isSetter() && IsFirstArgument)
393 const ObjCMethodCall &Msg) const {
398 QualType RetTy = Msg.getResultType();
405 C.addTransition(state->BindExpr(Msg.getOriginExpr(), LCtx, V));
411 .isConsumedExpr(Msg.getOriginExpr())) {
424 emitNilReceiverBug(C, Msg, N);
442 C.addTransition(state->BindExpr(Msg
[all...]
/external/llvm/lib/CodeGen/
H A DRegAllocBase.cpp109 const char *Msg = "ran out of registers during register allocation"; local
117 MI->emitError(Msg);
119 report_fatal_error(Msg);
/external/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { argument
37 Error(getLexer().getLoc(), Msg, Ranges);
H A DAsmLexer.cpp46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { argument
47 SetError(SMLoc::getFromPointer(Loc), Msg); local
/external/llvm/lib/TableGen/
H A DError.cpp24 const Twine &Msg) {
28 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
34 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { argument
35 PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg);
38 void PrintWarning(const char *Loc, const Twine &Msg) { argument
39 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); local
42 void PrintWarning(const Twine &Msg) { argument
43 errs() << "warning:" << Msg << "\n";
50 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { argument
51 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
23 PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, const Twine &Msg) argument
54 PrintError(const char *Loc, const Twine &Msg) argument
55 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); local
58 PrintError(const Twine &Msg) argument
[all...]
H A DTGLexer.cpp43 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { argument
44 PrintError(Loc, Msg);
/external/clang/examples/clang-interpreter/
H A Dmain.cpp96 SmallString<256> Msg; local
97 llvm::raw_svector_ostream OS(Msg);
/external/clang/test/Misc/
H A Dcaret-diags-macros.c28 void baz(char *Msg) { argument
29 sprintf(Msg, " sizeof FoooLib : =%3u\n", 12LL);
/external/libnfc-nxp/Linux_x86/
H A DphOsalNfc_Common.h52 phOsalNfc_Message_t Msg; member in struct:phOsalNfc_sMsg
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h59 bool Warning(SMLoc L, const Twine &Msg) { argument
60 return getParser().Warning(L, Msg);
62 bool Error(SMLoc L, const Twine &Msg) { argument
63 return getParser().Error(L, Msg);
65 bool TokError(const Twine &Msg) { argument
66 return getParser().TokError(Msg);
/external/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp136 ObjCMessageExpr *Msg = E; local
137 Expr *RecContainer = Msg;
139 checkForGCDOrXPC(Msg, RecContainer, rec, RecRange);
141 if (Msg->getMethodFamily() == OMF_release &&
246 void checkForGCDOrXPC(ObjCMessageExpr *Msg, Expr *&RecContainer, argument
248 SourceLocation Loc = Msg->getExprLoc();
264 Stmt *S = Msg;
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp101 static void Message(const char *Type, const Twine &Msg) { argument
102 errs() << ProgramName << ": " << Type << ": " << Msg << "\n"; local
105 static int Error(const Twine &Msg) { argument
106 Message("error", Msg);
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp147 CallEventRef<ObjCMethodCall> Msg = local
153 *Msg, *this);
156 *Msg, *this);
166 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State);
187 if (Msg->getSelector() == RaiseSel) {
202 if (const ObjCInterfaceDecl *Iface = Msg->getReceiverInterface()) {
231 Selector S = Msg->getSelector();
255 *Msg, *this);
260 *Msg, *this);
/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp89 static void PrintResults(const char *Msg, bool P, const Value *V1, argument
101 errs() << " " << Msg << ":\t"
108 PrintModRefResults(const char *Msg, bool P, Instruction *I, Value *Ptr, argument
111 errs() << " " << Msg << ": Ptr: ";
118 PrintModRefResults(const char *Msg, bool P, CallSite CSA, CallSite CSB, argument
121 errs() << " " << Msg << ": " << *CSA.getInstruction()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h174 bool Error(const Twine &Msg) { argument
175 ErrorStr = Msg.str();
/external/llvm/lib/MC/
H A DMCContext.cpp328 void MCContext::FatalError(SMLoc Loc, const Twine &Msg) { argument
332 report_fatal_error(Msg);
335 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
/external/llvm/lib/Support/
H A DSourceMgr.cpp148 const Twine &Msg,
204 LineAndCol.second-1, Kind, Msg.str(),
209 const Twine &Msg, ArrayRef<SMRange> Ranges,
211 SMDiagnostic Diagnostic = GetMessage(Loc, Kind, Msg, Ranges);
236 const std::string &Msg,
240 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()) {
147 GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges) const argument
208 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, bool ShowColors) const argument
234 SMDiagnostic(const SourceMgr &sm, SMLoc L, const std::string &FN, int Line, int Col, SourceMgr::DiagKind Kind, const std::string &Msg, const std::string &LineStr, ArrayRef<std::pair<unsigned,unsigned> > Ranges) argument
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp37 static void Message(const char *Type, const Twine &Msg) { argument
38 errs() << ProgramName << ": " << Type << ": " << Msg << "\n"; local
41 static int Error(const Twine &Msg) { argument
42 Message("error", Msg);
46 static void Warning(const Twine &Msg) { argument
47 Message("warning", Msg);

Completed in 559 milliseconds

123