[clang-tools-extra] caac40f - [clang-tools-extra] Added missing comma

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 11:28:46 PDT 2020


Author: zacharyselk
Date: 2020-08-14T12:27:30-06:00
New Revision: caac40fa5a6158aad93a20eb9aae82513fc5a368

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

LOG: [clang-tools-extra] Added missing comma

The new diagnostic tool (D85545) caught a missing comma, adding one to fix the warning.

Differential Revision: https://reviews.llvm.org/D85978

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp b/clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
index f9c2e7433cc4..06743080166b 100644
--- a/clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
+++ b/clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
@@ -345,7 +345,7 @@ TEST(SemanticHighlighting, GetsCorrectTokens) {
         $Class[[Foo]] *$LocalVariable[[FP]] = ($Class[[Foo]]*)$LocalVariable[[B]];
         int $LocalVariable[[I]] = (int)$LocalVariable[[B]];
       }
-    )cpp"
+    )cpp",
       R"cpp(
       struct $Class[[B]] {};
       struct $Class[[A]] {


        


More information about the cfe-commits mailing list