[clang-tools-extra] b7d2d14 - [clangd] Disable the NOLINTBBEGIN testcase in clangd.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 15 02:32:45 PST 2021


Author: Haojian Wu
Date: 2021-12-15T11:32:27+01:00
New Revision: b7d2d147477e4fa5e34a3bb74b2a393cdaab9779

URL: https://github.com/llvm/llvm-project/commit/b7d2d147477e4fa5e34a3bb74b2a393cdaab9779
DIFF: https://github.com/llvm/llvm-project/commit/b7d2d147477e4fa5e34a3bb74b2a393cdaab9779.diff

LOG: [clangd] Disable the NOLINTBBEGIN testcase in clangd.

NOLINTBEGIN is disabled, in 529833377ccdf4381f8bc9961bfa96ec4f5e2eed

Added: 
    

Modified: 
    clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp b/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
index b3872ab0bc592..920e56a21cf78 100644
--- a/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
+++ b/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
@@ -478,8 +478,9 @@ TEST(DiagnosticTest, ClangTidySuppressionComment) {
       #define BAD2 BAD
       double h = BAD2;  // NOLINT
       // NOLINTBEGIN
-      double x = BAD2;
-      double y = BAD2;
+      // FIXME: re-enable when NOLINTBEGIN suppresss block is enabled in clangd.
+      // double x = BAD2;
+      // double y = BAD2;
       // NOLINTEND
 
       // verify no crashes on unmatched nolints.


        


More information about the cfe-commits mailing list