aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-24 00:06:39 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-11-24 00:06:39 -0800
commit243271b29334c784a6c5c17668720d957651f581 (patch)
treefbbcb38d63d7d48d16ab26dd55131d49d2c98491
parent2e3f1ff72ff09b2ef20de5a3941bdad901da80d5 (diff)
parent3327c0a90f08c737986976551fa0a7617e966e6d (diff)
downloadclang-243271b29334c784a6c5c17668720d957651f581.tar.gz
[CodeComplete] Delete unused variable in rC342449
am: 3327c0a90f Change-Id: I6ca94ff16930d66fe21f9e9ea993a5bff954d0c1
-rw-r--r--lib/Sema/SemaCodeComplete.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp
index 7afcf706f1..aeb7aeea25 100644
--- a/lib/Sema/SemaCodeComplete.cpp
+++ b/lib/Sema/SemaCodeComplete.cpp
@@ -8214,7 +8214,6 @@ void Sema::CodeCompleteIncludedFile(llvm::StringRef Dir, bool Angled) {
// Helper: adds results relative to IncludeDir, if possible.
auto AddFilesFromDirLookup = [&](const DirectoryLookup &IncludeDir,
bool IsSystem) {
- llvm::SmallString<128> Dir;
switch (IncludeDir.getLookupType()) {
case DirectoryLookup::LT_HeaderMap:
// header maps are not (currently) enumerable.