[PATCH] D85978: [clang-tools-extra] Added missing comma
Zachary Selk via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 14 09:46:09 PDT 2020
zacharyselk created this revision.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous.
Herald added a project: clang.
zacharyselk requested review of this revision.
The new diagnostic tool (D85545 <https://reviews.llvm.org/D85545>) caught a missing comma, adding one to fix the warning.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85978
Files:
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Index: clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
===================================================================
--- clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
+++ clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
@@ -345,7 +345,7 @@
$Class[[Foo]] *$LocalVariable[[FP]] = ($Class[[Foo]]*)$LocalVariable[[B]];
int $LocalVariable[[I]] = (int)$LocalVariable[[B]];
}
- )cpp"
+ )cpp",
R"cpp(
struct $Class[[B]] {};
struct $Class[[A]] {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85978.285676.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200814/e9dcb281/attachment.bin>
More information about the cfe-commits
mailing list