diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-04 14:14:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-04 14:14:23 -0700 |
commit | 1812a43a22a82adccf46d6589b8460a3a7a2678e (patch) | |
tree | de3e088472b8716ee871eedd2afad233f617ae42 /clang/unittests/Tooling/CompilationDatabaseTest.cpp | |
parent | b807a2bc13e96c6819a90e72b99c823c1f3b2d0e (diff) | |
download | llvm-1812a43a22a82adccf46d6589b8460a3a7a2678e.zip llvm-1812a43a22a82adccf46d6589b8460a3a7a2678e.tar.gz llvm-1812a43a22a82adccf46d6589b8460a3a7a2678e.tar.bz2 |
[clang] Remove unused local variables (NFC) (#138468)
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/CompilationDatabaseTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/CompilationDatabaseTest.cpp b/clang/unittests/Tooling/CompilationDatabaseTest.cpp index 2032b13..c1febaf 100644 --- a/clang/unittests/Tooling/CompilationDatabaseTest.cpp +++ b/clang/unittests/Tooling/CompilationDatabaseTest.cpp @@ -703,7 +703,6 @@ TEST(ParseFixedCompilationDatabase, HandlesArgv0) { Database->getCompileCommands("source"); ASSERT_EQ(1ul, Result.size()); ASSERT_EQ(".", Result[0].Directory); - std::vector<std::string> Expected; ASSERT_THAT(Result[0].CommandLine, ElementsAre(EndsWith("clang-tool"), "source")); EXPECT_EQ(2, Argc); |