malcolm.parsons added inline comments.
================ Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:312 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) { + static bool ShouldIgnoreNotes = false; + if (ShouldIgnoreNotes && DiagLevel == DiagnosticsEngine::Note) ---------------- Change `ShouldIgnoreNotes` to a class member and rename to `LastErrorWasIgnored` or similar. https://reviews.llvm.org/D26218 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits