r347508 - [CodeComplete] Delete unused variable in rC342449
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 23 16:41:13 PST 2018
Author: maskray
Date: Fri Nov 23 16:41:13 2018
New Revision: 347508
URL: http://llvm.org/viewvc/llvm-project?rev=347508&view=rev
Log:
[CodeComplete] Delete unused variable in rC342449
Modified:
cfe/trunk/lib/Sema/SemaCodeComplete.cpp
Modified: cfe/trunk/lib/Sema/SemaCodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCodeComplete.cpp?rev=347508&r1=347507&r2=347508&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaCodeComplete.cpp (original)
+++ cfe/trunk/lib/Sema/SemaCodeComplete.cpp Fri Nov 23 16:41:13 2018
@@ -8214,7 +8214,6 @@ void Sema::CodeCompleteIncludedFile(llvm
// 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.
More information about the cfe-commits
mailing list