Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp79 Marshaller::fromProtobuf(const LookupRequest *Message) { in fromProtobuf() argument
81 auto IDs = getIDs(Message->ids()); in fromProtobuf()
89 Marshaller::fromProtobuf(const FuzzyFindRequest *Message) { in fromProtobuf() argument
92 Result.Query = Message->query(); in fromProtobuf()
93 for (const auto &Scope : Message->scopes()) in fromProtobuf()
95 Result.AnyScope = Message->any_scope(); in fromProtobuf()
96 if (Message->limit()) in fromProtobuf()
97 Result.Limit = Message->limit(); in fromProtobuf()
98 Result.RestrictForCodeCompletion = Message->restricted_for_code_completion(); in fromProtobuf()
99 for (const auto &Path : Message in fromProtobuf()
113 fromProtobuf(const RefsRequest * Message) fromProtobuf() argument
130 fromProtobuf(const RelationsRequest * Message) fromProtobuf() argument
144 fromProtobuf(const Symbol & Message) fromProtobuf() argument
183 fromProtobuf(const Ref & Message) fromProtobuf() argument
196 fromProtobuf(const Relation & Message) fromProtobuf() argument
347 fromProtobuf(const Position & Message) fromProtobuf() argument
362 fromProtobuf(const SymbolInfo & Message) fromProtobuf() argument
382 fromProtobuf(const SymbolLocation & Message) fromProtobuf() argument
423 fromProtobuf(const HeaderWithReferences & Message) fromProtobuf() argument
[all...]
H A DMarshalling.h41 llvm::Expected<clangd::Symbol> fromProtobuf(const Symbol &Message);
42 llvm::Expected<clangd::Ref> fromProtobuf(const Ref &Message);
44 fromProtobuf(const ContainedRef &Message);
46 fromProtobuf(const Relation &Message);
49 fromProtobuf(const LookupRequest *Message);
51 fromProtobuf(const FuzzyFindRequest *Message);
52 llvm::Expected<clangd::RefsRequest> fromProtobuf(const RefsRequest *Message);
54 fromProtobuf(const ContainedRefsRequest *Message);
56 fromProtobuf(const RelationsRequest *Message);
87 clangd::SymbolLocation::Position fromProtobuf(const Position &Message);
[all...]
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyDiagnosticConsumerTest.cpp73 EXPECT_EQ("DiagWithNoLoc", Errors[0].Message.Message); in TEST()
74 EXPECT_EQ("type specifier", Errors[1].Message.Message); in TEST()
75 EXPECT_EQ("variable", Errors[2].Message.Message); in TEST()
82 EXPECT_EQ("highlight range", Errors[0].Message.Message); in TEST()
87 EXPECT_EQ(4ul, Errors[0].Message.FileOffset); in TEST()
91 EXPECT_EQ(1ul, Errors[0].Message.Ranges.size()); in TEST()
92 EXPECT_EQ(0ul, Errors[0].Message.Ranges[0].FileOffset); in TEST()
93 EXPECT_EQ(7ul, Errors[0].Message.Ranges[0].Length); in TEST()
101 EXPECT_EQ("invalid->invalid", Errors[0].Message.Message); in TEST()
102 EXPECT_TRUE(Errors[0].Message.Ranges.empty()); in TEST()
[all …]
/llvm-project/clang/unittests/Tooling/
H A DDiagnosticsYamlTest.cpp24 makeMessage(const std::string &Message, int FileOffset, in makeMessage() argument
28 DiagMessage.Message = Message; in makeMessage()
47 const std::string &Message, int FileOffset, in makeDiagnostic() argument
53 makeMessage(Message, FileOffset, FilePath, Fix, Ranges), {}, in makeDiagnostic()
63 " Message: 'message #1'\n"
75 " Message: 'message #2'\n"
91 " Message: 'message #3'\n"
96 " - Message: Note1\n"
100 " - Message
[all...]
H A DCommentHandlerTest.cpp15 Comment(const std::string &Message, unsigned Line, unsigned Col) in Comment()
16 : Message(Message), Line(Line), Col(Col) { } in Comment()
18 std::string Message; member
102 << Current->Message << "\" at line " << Current->Line << ", column " in ~CommentVerifier()
107 void Match(const char *Message, unsigned Line, unsigned Col) { in ~CommentVerifier()
108 EXPECT_TRUE(Current != End) << "Comment " << Message << " not found"; in ~CommentVerifier()
112 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col) in Match()
113 << "Expected comment \"" << Message in Match()
110 Match(const char * Message,unsigned Line,unsigned Col) Match() argument
[all...]
/llvm-project/flang/include/flang/Parser/
H A Dmessage.h188 class Message : public common::ReferenceCounted<Message> {
190 using Reference = common::CountedReference<Message>;
192 Message(const Message &) = default;
193 Message(Message &&) = default;
194 Message &operator=(const Message &) = default;
195 Message
196 Message(ProvenanceRange pr, const MessageFixedText &t) Message() function
198 Message(ProvenanceRange pr, const MessageFormattedText &s) Message() function
200 Message(ProvenanceRange pr, MessageFormattedText &&s) Message() function
202 Message(ProvenanceRange pr, const MessageExpectedText &t) Message() function
205 Message(CharBlock csr, const MessageFixedText &t) Message() function
207 Message(CharBlock csr, const MessageFormattedText &s) Message() function
209 Message(CharBlock csr, MessageFormattedText &&s) Message() function
211 Message(CharBlock csr, const MessageExpectedText &t) Message() function
215 Message(RANGE r, const MessageFixedText &t, A &&x, As &&...xs) Message() function
[all...]
/llvm-project/flang/lib/Parser/
H A Dmessage.cpp142 bool Message::SortBefore(const Message &that) const { in SortBefore()
163 bool Message::IsFatal() const { in IsFatal()
167 Severity Message::severity() const { in severity()
177 Message &Message::set_severity(Severity severity) { in set_severity()
188 std::optional<common::LanguageFeature> Message::languageFeature() const { in ToString()
192 Message &Message::set_languageFeature(common::LanguageFeature feature) { in ToString()
197 std::optional<common::UsageWarning> Message in ToString()
[all...]
/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest-message.h101 class GTEST_API_ Message {
109 Message();
112 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message() function
117 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message() function
132 inline Message& operator<<(const T& val) {
163 inline Message& operator<<(const T& val) {
186 inline Message& operator<<(T* const& pointer) { // NOLINT
205 Message& operator<<(BasicNarrowIoManip val) {
211 Message& operator<<(bool b) { return *this << (b ? "true" : "false"); }
215 Message& operator<<(const wchar_t* wide_c_str);
[all …]
/llvm-project/clang-tools-extra/clangd/support/
H A DLogger.cpp32 const llvm::formatv_object_base &Message) { in logImpl() argument
34 L->log(Level, Fmt, Message); in logImpl()
38 llvm::errs() << Message << "\n"; in logImpl()
51 const llvm::formatv_object_base &Message) { in log() argument
55 trace::log(Message); in log()
58 Timestamp, Message); in log()
66 std::string Message; member in clang::clangd::__anonaf7ab55a0211::SimpleStringError
69 SimpleStringError(std::error_code EC, std::string &&Message) in SimpleStringError() argument
70 : EC(EC), Message(std::move(Message)) {} in SimpleStringError()
71 void log(llvm::raw_ostream &OS) const override { OS << Message; } in log()
[all …]
/llvm-project/clang/lib/Tooling/Core/
H A DDiagnostic.cpp21 DiagnosticMessage::DiagnosticMessage(llvm::StringRef Message) in DiagnosticMessage() argument
22 : Message(Message), FileOffset(0) {} in DiagnosticMessage()
24 DiagnosticMessage::DiagnosticMessage(llvm::StringRef Message, in DiagnosticMessage() argument
27 : Message(Message), FileOffset(0) { in DiagnosticMessage()
54 const DiagnosticMessage &Message, in Diagnostic() argument
57 : DiagnosticName(DiagnosticName), Message(Message), Notes(Notes), in Diagnostic()
61 if (!D.Message.Fix.empty()) in selectFirstFix()
62 return &D.Message.Fix; in selectFirstFix()
/llvm-project/compiler-rt/lib/gwp_asan/tests/
H A Doptions.cpp16 static char Message[1024]; variable
20 vsprintf(Message + strlen(Message), Format, Args); in MessageRecorder()
25 Message[0] = '\0'; in TEST()
30 EXPECT_EQ('\0', Message[0]); in TEST()
37 Message[0] = '\0'; in RunErrorTest()
39 EXPECT_NE('\0', Message[0]) in RunErrorTest()
41 EXPECT_NE(nullptr, strstr(Message, ErrorNeedle)) in RunErrorTest()
44 << "\". Error was: \"" << Message << "\"."; in RunErrorTest()
/llvm-project/clang/test/CodeGenObjC/
H A Dobjc-asm-attribute-test.m23 __attribute__((objc_runtime_name("MySecretNamespace.Message")))
24 @interface Message <Protocol, Protocol2> { interface
28 @property(retain) Message *msgProp;
29 @property(retain) Message<Protocol3> *msgProtoProp;
34 @implementation Message implementation
60 // CHECK: @"OBJC_IVAR_$_MySecretNamespace.Message.MyIVAR" ={{.*}} global i64 0
61 // CHECK: @"OBJC_CLASS_$_MySecretNamespace.Message" ={{.*}} global %struct._class_t
62 // CHECK: @"OBJC_METACLASS_$_MySecretNamespace.Message" ={{.*}} global %struct._class_t
68 // CHECK: private unnamed_addr constant [42 x i8] c"T@\22MySecretNamespace.Message\22,&,V_msgProp\0…
69 // CHECK: private unnamed_addr constant [76 x i8] c"T@\22MySecretNamespace.Message<MySecretNamespac…
[all …]
/llvm-project/llvm/tools/bugpoint/
H A DExecutionDriver.cpp145 std::string Message; in initializeExecutionEnvironment() local
160 AbstractInterpreter::createJIT(getToolName(), Message, &ToolArgv); in initializeExecutionEnvironment()
165 getToolName(), Message, CCBinary, &ToolArgv, &CCToolArgv); in initializeExecutionEnvironment()
170 AbstractInterpreter::createLLI(getToolName(), Message, &ToolArgv); in initializeExecutionEnvironment()
174 Message = "Sorry, I can't automatically select an interpreter!\n"; in initializeExecutionEnvironment()
179 AbstractInterpreter::createLLI(getToolName(), Message, &ToolArgv); in initializeExecutionEnvironment()
184 getToolName(), Message, CCBinary, &ToolArgv, &CCToolArgv, in initializeExecutionEnvironment()
189 AbstractInterpreter::createJIT(getToolName(), Message, &ToolArgv); in initializeExecutionEnvironment()
193 getToolName(), Message, CustomCompileCommand); in initializeExecutionEnvironment()
197 getToolName(), Message, CustomExecCommand); in initializeExecutionEnvironment()
[all …]
/llvm-project/clang-tools-extra/clang-tidy/
H A DClangTidyDiagnosticConsumer.cpp57 DiagnosticsEngine::Level Level, StringRef Message, in emitDiagnosticMessage() argument
65 Message.consume_back(CheckNameInMessage); in emitDiagnosticMessage()
69 ? tooling::DiagnosticMessage(Message, Loc.getManager(), Loc) in emitDiagnosticMessage()
70 : tooling::DiagnosticMessage(Message); in emitDiagnosticMessage()
98 assert(Error.Message.Message.empty() && "Overwriting a diagnostic message"); in emitDiagnosticMessage()
99 Error.Message = TidyMessage; in emitDiagnosticMessage()
101 Error.Message.Ranges.emplace_back(Loc.getManager(), in emitDiagnosticMessage()
114 Level == DiagnosticsEngine::Note ? &Error.Notes.back() : &Error.Message; in emitCodeContext()
147 assert(!Error.Message in endDiagnostic()
207 configurationDiag(StringRef Message,DiagnosticIDs::Level Level) configurationDiag() argument
445 SmallString<100> Message; HandleDiagnostic() local
[all...]
/llvm-project/clang-tools-extra/clangd/xpc/
H A DXPCTransport.cpp24 std::string Message; in encodeError() local
28 Message = L.Message; in encodeError()
32 Message = toString(std::move(Unhandled)); in encodeError()
35 {"message", std::move(Message)}, in encodeError()
95 bool handleMessage(json::Value Message, MessageHandler &Handler);
96 void sendMessage(json::Value Message) { in sendMessage() argument
97 xpc_object_t response = jsonToXpc(Message); in sendMessage()
107 bool XPCTransport::handleMessage(json::Value Message, MessageHandler &Handler) { in handleMessage() argument
109 auto *Object = Message.getAsObject(); in handleMessage()
112 elog("Not a JSON-RPC 2.0 message: {0:2}", Message); in handleMessage()
[all …]
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp20 ScopedErrorReport() : Message() { Message.append("Scudo ERROR: "); } in ScopedErrorReport()
24 Message.vappend(Format, Args); in append()
27 NORETURN ~ScopedErrorReport() { reportRawError(Message.data()); } in ~ScopedErrorReport()
30 ScopedString Message; member in scudo::ScopedErrorReport
49 void NORETURN reportError(const char *Message) { in reportError() argument
51 Report.append("%s\n", Message); in reportError()
55 void NORETURN reportRawError(const char *Message) { in reportRawError() argument
56 outputRaw(Message); in reportRawError()
57 setAbortMessage(Message); in reportRawError()
/llvm-project/clang/test/SemaObjC/
H A Dobjc-asm-attribute-neg-test.m15 __attribute__((objc_runtime_name("MySecretNamespace.Message")))
16 @interface Message <Protocol> { interface in objc_runtime_name
17 __attribute__((objc_runtime_name("MySecretNamespace.Message"))) // expected-error {{'objc_runtime_n…
20 __attribute__((objc_runtime_name("MySecretNamespace.Message")))
23 - (int) getMyProperty __attribute__((objc_runtime_name("MySecretNamespace.Message"))); // expected-… argument
25 - (void) setMyProperty : (int) arg __attribute__((objc_runtime_name("MySecretNamespace.Message")));… argument
35 @implementation Message
37 - (id) MyMethod __attribute__((objc_runtime_name("MySecretNamespace.Message"))) { argument
48 __attribute__((objc_runtime_name("MySecretNamespace.Message")))
/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp88 StringRef Message, in emitDiagnostic() argument
98 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, D); in emitDiagnostic()
125 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D); in emitDiagnostic()
147 void DiagnosticRenderer::emitBasicNote(StringRef Message) {
149 Message, {}, DiagOrStoredDiag()); in emitBasicNote()
445 llvm::raw_svector_ostream Message(MessageStorage); in emitSingleMacroExpansion()
449 Message << "expanded from here"; in emitSingleMacroExpansion()
451 Message << "expanded from macro '" << MacroName << "'"; in emitSingleMacroExpansion()
453 emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(), in emitSingleMacroExpansion()
581 llvm::raw_svector_ostream Message(MessageStorag in emitMacroExpansions()
148 emitBasicNote(StringRef Message) emitBasicNote() argument
446 llvm::raw_svector_ostream Message(MessageStorage); emitSingleMacroExpansion() local
582 llvm::raw_svector_ostream Message(MessageStorage); emitMacroExpansions() local
600 llvm::raw_svector_ostream Message(MessageStorage); emitIncludeLocation() local
611 llvm::raw_svector_ostream Message(MessageStorage); emitImportLocation() local
625 llvm::raw_svector_ostream Message(MessageStorage); emitBuildingModuleLocation() local
[all...]
/llvm-project/llvm/tools/llvm-dwarfutil/
H A DDebugInfoLinker.cpp263 std::string Message; in getMessageForReplacedAcceleratorTables() local
265 Message += "'"; in getMessageForReplacedAcceleratorTables()
267 if (Message.size() > 1) in getMessageForReplacedAcceleratorTables()
268 Message += ", "; in getMessageForReplacedAcceleratorTables()
269 Message += Name; in getMessageForReplacedAcceleratorTables()
272 Message += "' will be replaced with requested "; in getMessageForReplacedAcceleratorTables()
276 Message += ".debug_names table"; in getMessageForReplacedAcceleratorTables()
283 return Message; in getMessageForReplacedAcceleratorTables()
288 std::string Message; in getMessageForDeletedAcceleratorTables() local
290 Message += "'"; in getMessageForDeletedAcceleratorTables()
[all …]
/llvm-project/clang-tools-extra/clang-tidy/altera/
H A DIdDependentBackwardBranchCheck.h28 const llvm::Twine &Message) in IdDependencyRecord()
30 Message(Message.str()) {} in IdDependencyRecord()
32 const llvm::Twine &Message) in IdDependencyRecord()
34 Message(Message.str()) {} in IdDependencyRecord()
39 std::string Message; member
/llvm-project/clang-tools-extra/clangd/
H A DJSONTransport.cpp24 std::string Message; in encodeError() local
34 Message = "Request cancelled because the document was modified"; in encodeError()
38 Message = "Request cancelled"; in encodeError()
44 Message = L.Message; in encodeError()
48 Message = llvm::toString(std::move(Unhandled)); in encodeError()
51 {"message", std::move(Message)}, in encodeError()
133 bool handleMessage(llvm::json::Value Message, MessageHandler &Handler);
135 void sendMessage(llvm::json::Value Message) { in sendMessage() argument
138 OS << llvm::formatv(Pretty ? "{0:2}" : "{0}", Message); in sendMessage()
161 bool JSONTransport::handleMessage(llvm::json::Value Message, in handleMessage() argument
[all …]
H A DDiagnostics.cpp226 N.Message = "error occurred here"; in tryMoveToMainFile()
234 D.Message = llvm::formatv("{0}: {1}", Prefix, D.Message); in tryMoveToMainFile()
290 OS << diagLeveltoString(D.Severity) << ": " << D.Message; in printDiag()
294 std::string capitalize(std::string Message) { in capitalize() argument
295 if (!Message.empty()) in capitalize()
296 Message[0] = llvm::toUpper(Message[0]); in capitalize()
297 return Message; in capitalize()
313 OS << D.Message; in mainMessage()
663 llvm::SmallString<64> Message; fillNonLocationData() local
769 llvm::SmallString<64> Message; HandleDiagnostic() local
[all...]
/llvm-project/llvm/include/llvm/ProfileData/
H A DSymbolRemappingReader.h72 SymbolRemappingParseError(StringRef File, int64_t Line, const Twine &Message) in SymbolRemappingParseError() argument
73 : File(File), Line(Line), Message(Message.str()) {} in SymbolRemappingParseError()
76 OS << File << ':' << Line << ": " << Message; in log()
84 StringRef getMessage() const { return Message; } in getMessage()
91 std::string Message; variable
/llvm-project/clang-tools-extra/clang-tidy/objc/
H A DSuperSelfCheck.cpp86 const auto *Message = Result.Nodes.getNodeAs<ObjCMessageExpr>("message"); in check() local
88 auto Diag = diag(Message->getExprLoc(), "suspicious invocation of %0 in " in check()
91 << Message->getMethodDecl(); in check()
93 SourceLocation ReceiverLoc = Message->getReceiverRange().getBegin(); in check()
97 SourceLocation SelectorLoc = Message->getSelectorStartLoc(); in check()
101 Diag << FixItHint::CreateReplacement(Message->getSourceRange(), in check()
/llvm-project/bolt/lib/Utils/
H A DUtils.cpp22 void report_error(StringRef Message, std::error_code EC) { in report_error() argument
24 errs() << "BOLT-ERROR: '" << Message << "': " << EC.message() << ".\n"; in report_error()
28 void report_error(StringRef Message, Error E) { in report_error() argument
30 errs() << "BOLT-ERROR: '" << Message << "': " << toString(std::move(E)) in report_error()
35 void check_error(std::error_code EC, StringRef Message) { in check_error() argument
38 report_error(Message, EC); in check_error()
41 void check_error(Error E, Twine Message) { in check_error() argument
45 llvm::errs() << "BOLT-ERROR: '" << Message << "': " << EIB.message() in check_error()

12345678910>>...18