Author: Alexander Kornienko Date: 2021-01-28T15:00:07+01:00 New Revision: dfd2374ab6c393d675e7b4583bc279b2d7e9b51f
URL: https://github.com/llvm/llvm-project/commit/dfd2374ab6c393d675e7b4583bc279b2d7e9b51f DIFF: https://github.com/llvm/llvm-project/commit/dfd2374ab6c393d675e7b4583bc279b2d7e9b51f.diff LOG: [clang-tidy] Remove unnecessary #ifdef The code was likely used to verify other changes in c3b9d85bd4b7249af9efe3594c6c152a032f83f8. Added: Modified: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp index 346fa66a662a..48c5b0b2f4b7 100644 --- a/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp @@ -37,10 +37,6 @@ using namespace clang; using namespace tidy; -#ifdef LLVM_CLANG_AST_ATTR_H -//#error -#endif - namespace { class ClangTidyDiagnosticRenderer : public DiagnosticRenderer { public: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits