Home
last modified time | relevance | path

Searched refs:DiagMessage (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdLSPServerTests.cpp27 MATCHER_P(DiagMessage, M, "") {
120 DiagMessage("'main' must return 'int' (fix available)")))); in TEST_F()
125 DiagMessage("Cannot initialize a variable of type 'int' with " in TEST_F()
140 DiagMessage("'foo.h' file not found"), in TEST_F()
141 DiagMessage("Use of undeclared identifier 'VAR'")))); in TEST_F()
149 DiagMessage("Use of undeclared identifier 'original'")))); in TEST_F()
158 DiagMessage("Use of undeclared identifier 'changed'")))); in TEST_F()
DConfigProviderTests.cpp66 ElementsAre(DiagMessage("foo"), DiagMessage("bar"))); in TEST()
72 ElementsAre(DiagMessage("foo"), DiagMessage("bar"))); in TEST()
98 ElementsAre(DiagMessage("Unknown CompileFlags key Unknown"))); in TEST()
146 ElementsAre(DiagMessage("Unknown CompileFlags key Unknown"))); in TEST()
181 ElementsAre(DiagMessage("Unknown CompileFlags key Unknown"))); in TEST()
DConfigYAMLTests.cpp116 ElementsAre(AllOf(DiagMessage("Unknown If key UnknownCondition"), in TEST()
120 AllOf(DiagMessage("Unexpected token. Expected Key, Flow " in TEST()
142 ElementsAre(DiagMessage("If should be a dictionary"), in TEST()
143 DiagMessage("Config should be a dictionary"))); in TEST()
DConfigCompileTests.cpp125 ElementsAre(DiagMessage( in TEST_F()
218 Contains(AllOf(DiagMessage(ExpectedDiag), in TEST_F()
227 Contains(AllOf(DiagMessage("Exactly one of File or Server must be set."), in TEST_F()
266 AllOf(DiagMessage("MountPoint must be an absolute path, because this " in TEST_F()
DConfigTesting.h68 MATCHER_P(DiagMessage, M, "") { return arg.Message == M; }
/external/llvm-project/clang/unittests/Tooling/
DDiagnosticsYamlTest.cpp26 DiagnosticMessage DiagMessage; in makeMessage() local
27 DiagMessage.Message = Message; in makeMessage()
28 DiagMessage.FileOffset = FileOffset; in makeMessage()
29 DiagMessage.FilePath = FilePath; in makeMessage()
30 DiagMessage.Fix = Fix; in makeMessage()
31 return DiagMessage; in makeMessage()
/external/llvm-project/clang/lib/Sema/
DSemaConcept.cpp409 if (!SubstDiag->DiagMessage.empty()) in diagnoseUnsatisfiedRequirement()
413 << SubstDiag->DiagMessage; in diagnoseUnsatisfiedRequirement()
428 if (!SubstDiag->DiagMessage.empty()) in diagnoseUnsatisfiedRequirement()
432 << SubstDiag->DiagMessage; in diagnoseUnsatisfiedRequirement()
473 if (!SubstDiag->DiagMessage.empty()) in diagnoseUnsatisfiedRequirement()
476 << SubstDiag->SubstitutedEntity << SubstDiag->DiagMessage; in diagnoseUnsatisfiedRequirement()
495 if (!SubstDiag->DiagMessage.empty()) in diagnoseUnsatisfiedRequirement()
499 << SubstDiag->DiagMessage; in diagnoseUnsatisfiedRequirement()
/external/llvm-project/clang/include/clang/AST/
DExprConcepts.h167 StringRef DiagMessage; member
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp784 std::string DiagMessage = Record.readString(); in readConstraintSatisfaction() local
788 DiagLocation, DiagMessage}); in readConstraintSatisfaction()
819 std::string DiagMessage = Record.readString(); in readSubstitutionDiagnostic() local
822 DiagMessage}; in readSubstitutionDiagnostic()
DASTWriterStmt.cpp426 Record.AddString(D->DiagMessage); in addSubstitutionDiagnostic()