summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-11-27 05:22:15 +0000
committerAlp Toker <alp@nuanti.com>2013-11-27 05:22:15 +0000
commit965f88258843547d8226ec630c4b810a04a06ff4 (patch)
tree6c5ab4da1ca441171f9207ce9484a6b9ecb20a2a /clang/lib/Tooling/JSONCompilationDatabase.cpp
parentd35031ee92be92b8c6da8628b8a1e2fa27274402 (diff)
downloadbcm5719-llvm-965f88258843547d8226ec630c4b810a04a06ff4.tar.gz
bcm5719-llvm-965f88258843547d8226ec630c4b810a04a06ff4.zip
Remove a whole lot of unused variables
There are about 30 removed in this patch, generated by a new FixIt I haven't got round to submitting yet. llvm-svn: 195814
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
-rw-r--r--clang/lib/Tooling/JSONCompilationDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Tooling/JSONCompilationDatabase.cpp b/clang/lib/Tooling/JSONCompilationDatabase.cpp
index 1e33b418af4..dad4600798b 100644
--- a/clang/lib/Tooling/JSONCompilationDatabase.cpp
+++ b/clang/lib/Tooling/JSONCompilationDatabase.cpp
@@ -174,7 +174,7 @@ std::vector<CompileCommand>
JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const {
SmallString<128> NativeFilePath;
llvm::sys::path::native(FilePath, NativeFilePath);
- std::vector<StringRef> PossibleMatches;
+
std::string Error;
llvm::raw_string_ostream ES(Error);
StringRef Match = MatchTrie.findEquivalent(NativeFilePath.str(), ES);
OpenPOWER on IntegriCloud