Searched refs:DiagEngine (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/plugin/ |
D | ClangTidyPlugin.cpp | 28 std::unique_ptr<DiagnosticsEngine> DiagEngine; member in clang::tidy::ClangTidyPluginAction::WrapConsumer 32 std::unique_ptr<DiagnosticsEngine> DiagEngine, in WrapConsumer() argument 35 DiagEngine(std::move(DiagEngine)) {} in WrapConsumer() 45 auto DiagEngine = std::make_unique<DiagnosticsEngine>( in CreateASTConsumer() local 47 Context->setDiagnosticsEngine(DiagEngine.get()); in CreateASTConsumer() 55 std::move(Context), std::move(DiagEngine), std::move(Vec)); in CreateASTConsumer()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyDiagnosticConsumer.h | 84 void setDiagnosticsEngine(DiagnosticsEngine *DiagEngine) { in setDiagnosticsEngine() argument 85 this->DiagEngine = DiagEngine; in setDiagnosticsEngine() 183 DiagEngine->getDiagnosticLevel(DiagnosticID, Loc)), in getDiagLevelAndFormatString() 185 DiagEngine->getDiagnosticIDs()->getDescription(DiagnosticID))); in getDiagLevelAndFormatString() 192 DiagnosticsEngine *DiagEngine; variable
|
D | ClangTidyDiagnosticConsumer.cpp | 160 : DiagEngine(nullptr), OptionsProvider(std::move(OptionsProvider)), in ClangTidyContext() 174 unsigned ID = DiagEngine->getDiagnosticIDs()->getCustomDiagID( in diag() 177 return DiagEngine->Report(Loc, ID); in diag() 183 unsigned ID = DiagEngine->getDiagnosticIDs()->getCustomDiagID( in diag() 186 return DiagEngine->Report(ID); in diag() 196 DiagEngine->setSourceManager(SourceMgr); in setSourceManager() 208 DiagEngine->SetArgToStringFn(&FormatASTNodeDiagnosticArgument, Context); in setASTContext() 253 DiagEngine->getDiagnosticIDs()->getWarningOptionForDiag(DiagnosticID)); in getCheckName() 442 Context.getLangOpts(), &Context.DiagEngine->getDiagnosticOptions(), in HandleDiagnostic()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | TextDiagnosticTest.cpp | 42 DiagnosticsEngine DiagEngine(DiagID, new DiagnosticOptions, in TEST() local 44 SourceManager SrcMgr(DiagEngine, FileMgr); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-reorder-fields/ |
D | ReorderFieldsAction.cpp | 189 DiagnosticsEngine &DiagEngine = Context.getDiagnostics(); in reorderFieldsInConstructor() local 194 unsigned ID = DiagEngine.getDiagnosticIDs()->getCustomDiagID( in reorderFieldsInConstructor() 196 DiagEngine.Report(Initializer->getSourceLocation(), ID); in reorderFieldsInConstructor()
|
/external/llvm-project/clang/lib/Lex/ |
D | PPExpressions.cpp | 259 const DiagnosticsEngine &DiagEngine = PP.getDiagnostics(); in EvaluateValue() local 261 if (DiagEngine.isIgnored(diag::warn_pp_undef_identifier, in EvaluateValue() 264 DiagEngine.getDiagnosticOptions().UndefPrefixes; in EvaluateValue()
|