[clang] [clang-tools-extra] [clang-tidy] EndSourceFile() for preprocessor before diagnostic client (PR #145784)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 12:25:46 PDT 2025


================
@@ -292,6 +292,21 @@ class ClangTidyDiagnosticConsumer : public DiagnosticConsumer {
   void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
                         const Diagnostic &Info) override;
 
+  void BeginSourceFile(const LangOptions &LangOpts,
----------------
vbvictor wrote:

Please put implementation in .cpp file.

https://github.com/llvm/llvm-project/pull/145784


More information about the cfe-commits mailing list