diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-29 18:15:03 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-29 18:15:03 +0000 |
commit | 07f4357b446e959f81063bb14b705ea375b35ac4 (patch) | |
tree | df680b6e2b37529673a04a69a7c0389aa609ff2f /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 279a6c3747b10c33f8f425cf4a24e64db015d3e9 (diff) | |
download | bcm5719-llvm-07f4357b446e959f81063bb14b705ea375b35ac4.tar.gz bcm5719-llvm-07f4357b446e959f81063bb14b705ea375b35ac4.zip |
Implement code completion support for module import declarations, e.g.,
@import <complete with module names here>
or
@import std.<complete with submodule names here>
Addresses <rdar://problem/10710117>.
llvm-svn: 149199
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 7f22247e57f..cc8d3b48a28 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -1102,7 +1102,6 @@ Module *CompilerInstance::loadModule(SourceLocation ImportLoc, SourceLocation ModuleNameLoc = Path[0].second; clang::Module *Module = 0; - const FileEntry *ModuleFile = 0; // If we don't already have information on this module, load the module now. llvm::DenseMap<const IdentifierInfo *, clang::Module *>::iterator Known |