summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-12-21 09:32:49 +0000
committerHaojian Wu <hokein@google.com>2018-12-21 09:32:49 +0000
commit744eb3c3be8be0dae4458e9786296ba6d7dffda6 (patch)
treed72a8aa88a12d4817a0459a423f316d44271fb4a /clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
parent5d403f6bf8818415fd0425a89ece8a69fb6da155 (diff)
downloadbcm5719-llvm-744eb3c3be8be0dae4458e9786296ba6d7dffda6.tar.gz
bcm5719-llvm-744eb3c3be8be0dae4458e9786296ba6d7dffda6.zip
[clangd] Cleanup syntax errors in the test, NFC.
llvm-svn: 349893
Diffstat (limited to 'clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp')
-rw-r--r--clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp b/clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
index 952fcbef1e9..1829c9ad841 100644
--- a/clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
+++ b/clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
@@ -131,7 +131,7 @@ TEST_F(ShouldCollectSymbolTest, ShouldCollectSymbol) {
namespace nx {
class X{};
auto f() { int Local; } // auto ensures function body is parsed.
- struct { int x } var;
+ struct { int x; } var;
namespace { class InAnonymous {}; }
}
)",
OpenPOWER on IntegriCloud