Home
last modified time | relevance | path

Searched refs:Msg (Results 1 – 25 of 133) sorted by relevance

123456

/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp26 static bool checkForLiteralCreation(const ObjCMessageExpr *Msg, in checkForLiteralCreation() argument
29 if (!Msg || Msg->isImplicit() || !Msg->getMethodDecl()) in checkForLiteralCreation()
32 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation()
37 if (Msg->getReceiverKind() == ObjCMessageExpr::Class) in checkForLiteralCreation()
43 if (Msg->getReceiverKind() == ObjCMessageExpr::Instance) { in checkForLiteralCreation()
45 Msg->getInstanceReceiver()->IgnoreParenImpCasts())) { in checkForLiteralCreation()
59 bool edit::rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg, in rewriteObjCRedundantCallWithLiteral() argument
62 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) in rewriteObjCRedundantCallWithLiteral()
64 if (Msg->getNumArgs() != 1) in rewriteObjCRedundantCallWithLiteral()
67 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteObjCRedundantCallWithLiteral()
[all …]
/external/llvm/lib/TableGen/
DError.cpp26 const Twine &Msg) { in PrintMessage() argument
35 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); in PrintMessage()
41 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning() argument
42 PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg); in PrintWarning()
45 void PrintWarning(const char *Loc, const Twine &Msg) { in PrintWarning() argument
46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
49 void PrintWarning(const Twine &Msg) { in PrintWarning() argument
50 errs() << "warning:" << Msg << "\n"; in PrintWarning()
53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument
54 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError()
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h212 const Twine &Msg,
215 LineNum(LineNum), Msg(Msg) {} in DiagnosticInfo()
216 DiagnosticInfoSampleProfile(const char *FileName, const Twine &Msg,
219 LineNum(0), Msg(Msg) {} in DiagnosticInfo()
220 DiagnosticInfoSampleProfile(const Twine &Msg,
223 LineNum(0), Msg(Msg) {} in DiagnosticInfo()
234 const Twine &getMsg() const { return Msg; } in getMsg()
245 const Twine &Msg; variable
261 const DebugLoc &DLoc, const Twine &Msg) in DiagnosticInfoOptimizationBase() argument
263 Msg(Msg) {} in DiagnosticInfoOptimizationBase()
[all …]
/external/llvm/include/llvm/TableGen/
DError.h22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
23 void PrintWarning(const char *Loc, const Twine &Msg);
24 void PrintWarning(const Twine &Msg);
26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
27 void PrintError(const char *Loc, const Twine &Msg);
28 void PrintError(const Twine &Msg);
30 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg);
32 const Twine &Msg);
/external/clang/unittests/AST/
DMatchVerifier.h176 llvm::raw_string_ostream Msg(MsgStr); in verify()
177 Msg << "Expected location <" << ExpectLine << ":" << ExpectColumn in verify()
179 Loc.print(Msg, *Result.SourceManager); in verify()
180 Msg << '>'; in verify()
181 this->setFailure(Msg.str()); in verify()
221 llvm::raw_string_ostream Msg(MsgStr); in verify()
222 Msg << "Expected range <" << ExpectBeginLine << ":" << ExpectBeginColumn in verify()
224 Begin.print(Msg, *Result.SourceManager); in verify()
225 Msg << '-'; in verify()
226 End.print(Msg, *Result.SourceManager); in verify()
[all …]
/external/clang/lib/Frontend/
DHeaderIncludeGen.cpp120 SmallString<256> Msg; in FileChanged() local
122 Msg += "Note: including file:"; in FileChanged()
127 Msg += MSStyle ? ' ' : '.'; in FileChanged()
130 Msg += ' '; in FileChanged()
132 Msg += Filename; in FileChanged()
133 Msg += '\n'; in FileChanged()
135 OutputFile->write(Msg.data(), Msg.size()); in FileChanged()
/external/clang/lib/Sema/
DDelayedDiagnostic.cpp28 StringRef Msg, in makeAvailability() argument
47 if (Msg.size()) { in makeAvailability()
48 MessageData = new char [Msg.size()]; in makeAvailability()
49 memcpy(MessageData, Msg.data(), Msg.size()); in makeAvailability()
53 DD.DeprecationData.MessageLen = Msg.size(); in makeAvailability()
/external/llvm/lib/IR/
DDiagnosticInfo.cpp174 const Twine &Msg) { in emitOptimizationRemark() argument
175 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg)); in emitOptimizationRemark()
181 const Twine &Msg) { in emitOptimizationRemarkMissed() argument
182 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkMissed()
189 const Twine &Msg) { in emitOptimizationRemarkAnalysis() argument
191 DiagnosticInfoOptimizationRemarkAnalysis(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkAnalysis()
200 const DebugLoc &DLoc, const Twine &Msg) { in emitLoopVectorizeWarning() argument
202 Fn, DLoc, Twine("loop not vectorized: " + Msg))); in emitLoopVectorizeWarning()
206 const DebugLoc &DLoc, const Twine &Msg) { in emitLoopInterleaveWarning() argument
208 Fn, DLoc, Twine("loop not interleaved: " + Msg))); in emitLoopInterleaveWarning()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h68 bool Warning(SMLoc L, const Twine &Msg) { in Warning() argument
69 return getParser().Warning(L, Msg); in Warning()
71 bool Error(SMLoc L, const Twine &Msg) { in Error() argument
72 return getParser().Error(L, Msg); in Error()
74 bool TokError(const Twine &Msg) { in TokError() argument
75 return getParser().TokError(Msg); in TokError()
DMCAsmParser.h123 virtual void Note(SMLoc L, const Twine &Msg,
129 virtual bool Warning(SMLoc L, const Twine &Msg,
136 virtual bool Error(SMLoc L, const Twine &Msg,
147 bool TokError(const Twine &Msg, ArrayRef<SMRange> Ranges = None);
/external/llvm/lib/AsmParser/
DLLLexer.h63 bool Error(LocTy L, const Twine &Msg) const;
64 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } in Error() argument
66 void Warning(LocTy WarningLoc, const Twine &Msg) const;
67 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); } in Warning() argument
/external/clang/lib/StaticAnalyzer/Core/
DChecker.cpp27 StringRef Msg) in CheckerProgramPointTag() argument
28 : SimpleProgramPointTag(CheckerName, Msg) {} in CheckerProgramPointTag()
31 StringRef Msg) in CheckerProgramPointTag() argument
32 : SimpleProgramPointTag(Checker->getCheckName().getName(), Msg) {} in CheckerProgramPointTag()
DExprEngineObjC.cpp139 CallEventRef<ObjCMethodCall> Msg = in VisitObjCMessage() local
145 *Msg, *this); in VisitObjCMessage()
148 *Msg, *this); in VisitObjCMessage()
158 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State); in VisitObjCMessage()
209 *Msg, *this); in VisitObjCMessage()
214 *Msg, *this); in VisitObjCMessage()
/external/llvm/tools/lli/
DRemoteTargetExternal.h123 bool Receive(LLIMessageType Msg);
124 bool Receive(LLIMessageType Msg, int32_t &Data);
125 bool Receive(LLIMessageType Msg, uint64_t &Data);
128 bool ReceiveHeader(LLIMessageType Msg);
130 bool SendHeader(LLIMessageType Msg);
DRemoteTargetExternal.cpp175 bool RemoteTargetExternal::Receive(LLIMessageType Msg) { in Receive() argument
176 if (!ReceiveHeader(Msg)) in Receive()
187 bool RemoteTargetExternal::Receive(LLIMessageType Msg, int32_t &Data) { in Receive() argument
188 if (!ReceiveHeader(Msg)) in Receive()
198 bool RemoteTargetExternal::Receive(LLIMessageType Msg, uint64_t &Data) { in Receive() argument
199 if (!ReceiveHeader(Msg)) in Receive()
/external/clang/lib/StaticAnalyzer/Checkers/
DNoReturnFunctionChecker.cpp87 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()
DDivZeroChecker.cpp27 void reportBug(const char *Msg,
35 void DivZeroChecker::reportBug(const char *Msg, in reportBug() argument
42 BugReport *R = new BugReport(*BT, Msg, N); in reportBug()
DCallAndMessageChecker.cpp111 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in describeUninitializedArgumentInCall() local
112 switch (Msg.getMessageKind()) { in describeUninitializedArgumentInCall()
116 assert(Msg.isSetter() && "Getters have no args"); in describeUninitializedArgumentInCall()
119 if (Msg.isSetter() && IsFirstArgument) in describeUninitializedArgumentInCall()
531 const ObjCMethodCall &Msg) const { in HandleNilReceiver()
537 QualType RetTy = Msg.getResultType(); in HandleNilReceiver()
544 C.addTransition(state->BindExpr(Msg.getOriginExpr(), LCtx, V), &Tag); in HandleNilReceiver()
550 .isConsumedExpr(Msg.getOriginExpr())) { in HandleNilReceiver()
564 emitNilReceiverBug(C, Msg, N); in HandleNilReceiver()
582 C.addTransition(state->BindExpr(Msg.getOriginExpr(), LCtx, V), &Tag); in HandleNilReceiver()
/external/tcpdump/tests/
Dsyslog-v.out4 Msg: Sep 12 19:16:12 through logger: test message 21\0x00
8 Msg: Sep 12 19:16:18 through logger: test message 22\0x00
12 Msg: 2013-09-12T19:16:34.457849+04:00 localhost through rsyslog: test message 23
16 Msg: 2013-09-12T19:16:43.513746+04:00 localhost through rsyslog: test message 24
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc148 for (const char *Msg = Message; *Msg; ++Msg) { in renderText() local
149 if (*Msg != '%') { in renderText()
152 for (I = 0; Msg[I] && Msg[I] != '%' && I != 63; ++I) in renderText()
153 Buffer[I] = Msg[I]; in renderText()
156 Msg += I - 1; in renderText()
158 const Diag::Arg &A = Args[*++Msg - '0']; in renderText()
/external/clang/include/clang/Edit/
DRewriters.h27 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
30 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
34 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp248 raw_string_ostream Msg(msg); in EmitMSInlineAsmStr() local
249 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitMSInlineAsmStr()
250 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
420 raw_string_ostream Msg(msg); in EmitGCCInlineAsmStr() local
421 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitGCCInlineAsmStr()
422 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
525 raw_string_ostream Msg(msg); in PrintSpecial() local
526 Msg << "Unknown special formatter '" << Code in PrintSpecial()
528 report_fatal_error(Msg.str()); in PrintSpecial()
/external/llvm/include/llvm/Support/
DSourceMgr.h162 const Twine &Msg,
168 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
185 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
248 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() argument
250 Message(Msg) {} in SMDiagnostic()
255 StringRef Msg, StringRef LineStr,
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp90 static void PrintResults(const char *Msg, bool P, const Value *V1, in PrintResults() argument
102 errs() << " " << Msg << ":\t" in PrintResults()
109 PrintModRefResults(const char *Msg, bool P, Instruction *I, Value *Ptr, in PrintModRefResults() argument
112 errs() << " " << Msg << ": Ptr: "; in PrintModRefResults()
119 PrintModRefResults(const char *Msg, bool P, CallSite CSA, CallSite CSB, in PrintModRefResults() argument
122 errs() << " " << Msg << ": " << *CSA.getInstruction() in PrintModRefResults()
128 PrintLoadStoreResults(const char *Msg, bool P, const Value *V1, in PrintLoadStoreResults() argument
131 errs() << " " << Msg << ": " << *V1 in PrintLoadStoreResults()
/external/llvm/lib/Support/
DSourceMgr.cpp136 const Twine &Msg, in GetMessage() argument
194 LineAndCol.second-1, Kind, Msg.str(), in GetMessage()
217 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage() argument
219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
223 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage() argument
225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
234 StringRef Msg, StringRef LineStr, in SMDiagnostic() argument
238 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()

123456