/llvm-project/libcxx/include/ |
H A D | __assert | 20 #define _LIBCPP_ASSERT(expression, message) \ 24 expression) " failed: " message "\n")) 43 # define _LIBCPP_ASSERT_VALID_INPUT_RANGE(expression, message) _LIBCPP_ASSERT(expression, message) 44 # define _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(expression, message) _LIBCPP_ASSERT(expression, message) 47 # define _LIBCPP_ASSERT_NON_NULL(expression, message) ((void)0) 50 # define _LIBCPP_ASSERT_NON_OVERLAPPING_RANGES(expression, message) ((void)0) 51 # define _LIBCPP_ASSERT_VALID_DEALLOCATION(expression, message) ((void)0) 52 # define _LIBCPP_ASSERT_VALID_EXTERNAL_API_CALL(expression, message) ((voi [all...] |
/llvm-project/llvm/unittests/Support/ |
H A D | SourceMgrTest.cpp | 51 printMessage(getLoc(4), SourceMgr::DK_Error, "message", {}, {}); in TEST_F() 53 EXPECT_EQ("file.in:1:5: error: message\n" in TEST_F() 61 printMessage(getLoc(4), SourceMgr::DK_Warning, "message", {}, {}); in TEST_F() 63 EXPECT_EQ("file.in:1:5: warning: message\n" in TEST_F() 71 printMessage(getLoc(4), SourceMgr::DK_Remark, "message", {}, {}); in TEST_F() 73 EXPECT_EQ("file.in:1:5: remark: message\n" in TEST_F() 81 printMessage(getLoc(4), SourceMgr::DK_Note, "message", {}, {}); 83 EXPECT_EQ("file.in:1:5: note: message\n" in TEST_F() 91 printMessage(getLoc(6), SourceMgr::DK_Error, "message", {}, {}); in TEST_F() 93 EXPECT_EQ("file.in:1:7: error: message\ [all...] |
/llvm-project/clang/unittests/Tooling/ |
H A D | DiagnosticsYamlTest.cpp | 24 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 [all...] |
/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
H A D | Marshalling.cpp | 79 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...] |
/llvm-project/clang/tools/scan-build-py/tests/unit/ |
H A D | test_report.py | 169 "message": { 170 "text": "test message 1" 200 "message": { 201 "text": "test message 2" 270 "message": { 271 "text": "test message 3" 301 "message": { 302 "text": "test message 4" 377 "message": { 378 "text": "test message [all...] |
/llvm-project/flang/include/flang/Parser/ |
H A D | message.h | 1 //===-- include/flang/Parser/message.h --------------------------*- C++ -*-===// 35 // and severity of a message or attachment. 40 Because, // for AttachTo(), explanatory attachment to support another message 188 class Message : public common::ReferenceCounted<Message> { 190 using Reference = common::CountedReference<Message>; 192 Message(const Message &) = default; 193 Message(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/clang-tools-extra/unittests/clang-tidy/ |
H A D | ClangTidyDiagnosticConsumerTest.cpp | 73 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/test/Lexer/ |
H A D | pragma-message.c | 1 /* Test pragma message directive from 3 // message: Sends a string literal to the standard output without terminating 5 // #pragma message(messagestring) 7 // #pragma message messagestring 13 #pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}} 14 #pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this!… 16 #pragma message(invalid) // expected-error {{expected string literal in pragma message}} 19 // message) and #pragma GCC error (which generates an error message). 21 #pragma GCC warning(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! … 24 #pragma GCC error(":O I'm a message! " STRING(__LINE__)) // expected-error {{:O I'm a message! 24}} [all …]
|
/llvm-project/clang-tools-extra/clangd/index/remote/ |
H A D | Index.proto | 14 message FinalResult { optional bool has_more = 1; } 16 message LookupRequest { repeated string ids = 1; } 18 // The response is a stream of symbol messages and the terminating message 20 message LookupReply { 27 message FuzzyFindRequest { 38 // message. 39 message FuzzyFindReply { 46 message RefsRequest { 54 // message. 55 message RefsRepl [all...] |
/llvm-project/third-party/unittest/googletest/include/gtest/ |
H A D | gtest-message.h | 32 // This header file defines the Message class. 70 // See Message& operator<<(...) below for why. 75 // The Message class works like an ostream repeater. 79 // 1. You stream a bunch of values to a Message object. 81 // 2. Then you stream the Message object to an ostream. 82 // This causes the text in the Message to be streamed 87 // testing::Message foo; 93 // Message is not intended to be inherited from. In particular, its 98 // latter (it causes an access violation if you do). The Message 101 class GTEST_API_ Message { [all …]
|
/llvm-project/openmp/runtime/src/ |
H A D | kmp_i18n.cpp | 37 static char const *no_message_available = "(No message available)"; 39 static void __kmp_msg(kmp_msg_severity_t severity, kmp_msg_t message, 45 KMP_I18N_ABSENT // Opening failed, message catalog should not be used. 50 /* Message catalog is opened at first usage, so we have to synchronize opening 136 // default message. in __kmp_i18n_do_catopen() 191 char const *message = NULL; in __kmp_i18n_catgets() local 199 message = catgets(cat, section, number, in __kmp_i18n_catgets() 202 if (message == NULL) { in __kmp_i18n_catgets() 203 message = __kmp_i18n_default_table.sect[section].str[number]; in __kmp_i18n_catgets() 207 if (message == NULL) { in __kmp_i18n_catgets() [all …]
|
H A D | kmp_i18n.h | 24 identifier: kmp_i18n_null, which denotes absence of message. */ 27 /* Low-level functions handling message catalog. __kmp_i18n_open() opens message 28 catalog, __kmp_i18n_closes() it. Explicit opening is not required: if message 35 KMP_I18N_STR macro simplifies access to strings in message catalog a bit. 55 There are 3 kind of message severities: 61 OMP: Warning #2: Cannot open message catalog "libguide.cat": (1) 67 (1) is a message of warning severity, 70 (4) is a message of informational severity. 72 Usage in complex cases (message is accompanied with hints and system errors): 78 KMP_MSG( CantOpenMessageCatalog, name ), // Primary message [all …]
|
/llvm-project/third-party/benchmark/test/ |
H A D | skip_with_error_test.cc | 67 state.SkipWithError("error message"); in BM_error_no_running() 70 ADD_CASES("BM_error_no_running", {{"", true, "error message"}}); 73 state.SkipWithError("error message"); in BM_error_before_running() 79 ADD_CASES("BM_error_before_running", {{"", true, "error message"}}); 82 state.SkipWithError("error message"); in BM_error_before_running_batch() 88 ADD_CASES("BM_error_before_running_batch", {{"", true, "error message"}}); 91 state.SkipWithError("error message"); in BM_error_before_running_range_for() 97 ADD_CASES("BM_error_before_running_range_for", {{"", true, "error message"}}); 105 state.SkipWithError("error message"); in BM_error_during_running() 113 ADD_CASES("BM_error_during_running", {{"/1/threads:1", true, "error message"}, [all …]
|
/llvm-project/clang-tools-extra/clangd/xpc/ |
H A D | XPCTransport.cpp | 24 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() 42 std::string(O.getString("message").value_or("Unspecified error")); in decodeError() 94 // Dispatches incoming message to Handler onNotify/onCall/onReply. 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 [all …]
|
/llvm-project/flang/lib/Parser/ |
H A D | message.cpp | 1 //===-- lib/Parser/message.cpp --------------------------------------------===// 9 #include "flang/Parser/message.h" 142 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 in ToString() [all...] |
/llvm-project/flang/test/Semantics/ |
H A D | collectives05.f90 | 37 character(len=1) string, message, character_array(1) variable 45 call co_reduce(i, int_op, errmsg=message) 46 call co_reduce(i, int_op, stat=status, errmsg=message) 47 call co_reduce(i, int_op, result_image=1, stat=status, errmsg=message) 48 call co_reduce(i, operation=int_op, result_image=1, stat=status, errmsg=message) 49 call co_reduce(a=i, operation=int_op, result_image=1, stat=status, errmsg=message) 50 call co_reduce(array, operation=real_op, result_image=1, stat=status, errmsg=message) 51 call co_reduce(vector, operation=real_op, result_image=1, stat=status, errmsg=message) 52 call co_reduce(string, operation=char_op, result_image=1, stat=status, errmsg=message) 53 call co_reduce(foo, operation=left, result_image=1, stat=status, errmsg=message) [all …]
|
H A D | collectives01.f90 | 13 character(len=1) message, coindexed_character[*], character_array(1), repeated_message variable 23 call co_sum(d, 1, status, message) 24 call co_sum(r, 1, status, message) 28 call co_sum(real_array, 1, status, message) 33 call co_sum(a=i, result_image=1, stat=status, errmsg=message) 34 call co_sum(a = i, result_image = 1, stat = status, errmsg = message) 35 call co_sum(result_image=1, a=i, errmsg=message, stat=status) 38 call co_sum(a=i, stat=status, errmsg=message) 39 call co_sum(a=i, result_image=1, errmsg=message) 45 call co_sum(a=i, errmsg=message) [all …]
|
/llvm-project/clang/test/Parser/ |
H A D | cxx2c-delete-with-message.cpp | 11 void e() = delete("foo"[0]); // expected-error {{expected ')'}} expected-note {{to match this '('}} // pre26-pedantic-warning {{'= delete' with a message is a C++2c extension}} compat-warning {{'= delete' with a message is incompatible with C++ standards before C++2c}} 12 void f() = delete("foo"); // pre26-pedantic-warning {{'= delete' with a message is a C++2c extension}} compat-warning {{'= delete' with a message is incompatible with C++ standards before C++2c}} 14 S() = delete("foo"); // pre26-pedantic-warning {{'= delete' with a message is a C++2c extension}} compat-warning {{'= delete' with a message is incompatible with C++ standards before C++2c}} 15 ~S() = delete("foo"); // pre26-pedantic-warning {{'= delete' with a message is a C++2c extension}} compat-warning {{'= delete' with a message is incompatible with C++ standards before C++2c}} 16 S(const S&) = delete("foo"); // pre26-pedantic-warning {{'= delete' with a message is a C++2c extension}} compat-warning {{'= delete' with a message i [all...] |
/llvm-project/libc/cmake/modules/ |
H A D | LibcConfig.cmake | 43 message(FATAL_ERROR "${config_file}: ${json_error}") 49 message(FATAL_ERROR "${config_file}: Does not contain any config option groups") 59 message(FATAL_ERROR "${config_file}: ${json_error}") 66 message(FATAL_ERROR ${json_error}) 70 message(FATAL_ERROR ${json_error}) 73 message(FATAL_ERROR "${config_file}: No options listed against the config option group '${group_name}'") 80 message(FATAL_ERROR ${json_error}) 84 message(FATAL_ERROR "${config_file}: Found duplicate option name: ${option_name}") 90 message(FATAL_ERROR ${json_error}) 113 message(FATAL_ERRO [all...] |
/llvm-project/flang/unittests/Runtime/ |
H A D | Stop.cpp | 36 static const char *message{"bye bye"}; in TEST() local 37 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 41 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 45 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 49 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 58 static const char *message{"bye bye"}; in TEST() local 59 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 63 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 67 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST() 71 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
|
/llvm-project/llvm/test/MC/AMDGPU/ |
H A D | sopp-err.s | 13 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: expected a message name or an absolute expression 19 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: message does not support operations 22 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: message does not support operations 25 // PREGFX11: :[[@LINE-1]]:{{[0-9]+}}: error: missing message operation 26 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU 30 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU 37 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU 41 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU 45 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU 49 // GFX11PLUS: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU [all …]
|
/llvm-project/clang/test/Analysis/diagnostics/Inputs/expected-sarif/ |
H A D | sarif-multi-diagnostic-test.c.sarif | 28 "message": { 47 "message": { 84 "message": { 99 "message": { 118 "message": { 137 "message": { 174 "message": { 189 "message": { 208 "message": { 226 "message" [all...] |
/llvm-project/openmp/runtime/tools/ |
H A D | message-converter.py | 49 """Convenience class for parsing message data file errors""" 72 class Message(object): 90 for special, substitute in Message.special.items(): 97 Convenience class representing message data parsed from i18n/* files 169 Message(lineNumber, key, value) 201 """Create the include file with message enums""" 208 " // A special id for absence of message.\n" 225 for message in messages: 226 f.write(" {}_{}_{},\n".format(prefix, shortName, message.name)) 240 f.write("// message catalo 46 class Message(object): global() class [all...] |
/llvm-project/lldb/tools/lldb-dap/ |
H A D | RunInTerminal.cpp | 78 "Incorrect JSON message: " + JSONToString(json)); in ParseJSONMessage() 89 static Error ToError(const RunInTerminalMessage &message) { in GetNextMessage() 90 if (message.kind == eRunInTerminalMessageKindError) in GetNextMessage() 92 message.GetAsErrorMessage()->error); in ToError() argument 94 "Unexpected JSON message: " + in ToError() 95 JSONToString(message.ToJSON())); in ToError() 104 if (Expected<RunInTerminalMessageUP> message = 106 if (message.get()->kind == eRunInTerminalMessageKindDidAttach) in WaitUntilDebugAdaptorAttaches() 109 return ToError(*message.get()); in WaitUntilDebugAdaptorAttaches() 111 return message in WaitUntilDebugAdaptorAttaches() 107 if (Expected<RunInTerminalMessageUP> message = WaitUntilDebugAdaptorAttaches() local 144 if (Expected<RunInTerminalMessageUP> message = GetLauncherPid() local 156 if (Expected<RunInTerminalMessageUP> message = GetLauncherError() local [all...] |
/llvm-project/clang/test/CodeGenObjC/ |
H A D | objc-asm-attribute-test.m | 23 __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 …]
|