Home
last modified time | relevance | path

Searched refs:DiagnosticName (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/lib/Tooling/Core/
DDiagnostic.cpp48 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() argument
50 : DiagnosticName(DiagnosticName), DiagLevel(DiagLevel), in Diagnostic()
53 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() argument
58 : DiagnosticName(DiagnosticName), Message(Message), Notes(Notes), in Diagnostic()
/external/llvm-project/clang/tools/diagtool/
DFindDiagnosticID.cpp44 static llvm::cl::opt<std::string> DiagnosticName( in run() local
59 findDiagnostic(AllDiagnostics, DiagnosticName); in run()
62 auto Name = getNameFromID(DiagnosticName); in run()
68 llvm::errs() << "error: invalid diagnostic '" << DiagnosticName << "'\n"; in run()
/external/llvm-project/clang/include/clang/Tooling/
DDiagnosticsYaml.h69 : DiagnosticName(D.DiagnosticName), Message(D.Message), Notes(D.Notes), in LLVM_YAML_IS_SEQUENCE_VECTOR()
74 return clang::tooling::Diagnostic(DiagnosticName, Message, Notes, in LLVM_YAML_IS_SEQUENCE_VECTOR()
78 std::string DiagnosticName; in LLVM_YAML_IS_SEQUENCE_VECTOR()
89 Io.mapRequired("DiagnosticName", Keys->DiagnosticName); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm-project/clang/include/clang/Tooling/Core/
DDiagnostic.h71 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel,
74 Diagnostic(llvm::StringRef DiagnosticName, const DiagnosticMessage &Message,
80 std::string DiagnosticName; member
/external/llvm-project/clang/unittests/Tooling/
DDiagnosticsYamlTest.cpp44 static Diagnostic makeDiagnostic(StringRef DiagnosticName, in makeDiagnostic() argument
49 return Diagnostic(DiagnosticName, in makeDiagnostic()
159 EXPECT_EQ("diagnostic#1", D1.DiagnosticName); in TEST()
172 EXPECT_EQ("diagnostic#2", D2.DiagnosticName); in TEST()
188 EXPECT_EQ("diagnostic#3", D3.DiagnosticName); in TEST()
/external/llvm-project/clang-tools-extra/unittests/clang-apply-replacements/
DApplyReplacementsTest.cpp21 makeTUDiagnostics(const std::string &MainSourceFile, StringRef DiagnosticName, in makeTUDiagnostics() argument
27 {{DiagnosticName, in makeTUDiagnostics()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyDiagnosticConsumer.cpp59 std::string CheckNameInMessage = " [" + Error.DiagnosticName + "]"; in emitDiagnosticMessage()
274 if (Error.DiagnosticName == "clang-tidy-config") { in finalizeLastError()
276 } else if (!Context.isCheckEnabled(Error.DiagnosticName) && in finalizeLastError()
734 return std::tie(M1.FilePath, M1.FileOffset, LHS.DiagnosticName, in operator ()()
736 std::tie(M2.FilePath, M2.FileOffset, RHS.DiagnosticName, M2.Message); in operator ()()
800 ExistingError.DiagnosticName, Error.DiagnosticName) in removeDuplicatedDiagnosticsOfAliasCheckers()
808 ExistingError.EnabledDiagnosticAliases.emplace_back(Error.DiagnosticName); in removeDuplicatedDiagnosticsOfAliasCheckers()
DClangTidy.cpp128 std::string Name = Error.DiagnosticName; in reportDiagnostic()