Add option to disable module loading.
This patch was created by Lawrence Crowl and reviewed in: http://llvm-reviews.chandlerc.com/D963 llvm-svn: 187738
This commit is contained in:
@@ -3188,7 +3188,7 @@ void Sema::CodeCompleteModuleImport(SourceLocation ImportLoc,
|
||||
? CXAvailability_Available
|
||||
: CXAvailability_NotAvailable));
|
||||
}
|
||||
} else {
|
||||
} else if (getLangOpts().Modules) {
|
||||
// Load the named module.
|
||||
Module *Mod = PP.getModuleLoader().loadModule(ImportLoc, Path,
|
||||
Module::AllVisible,
|
||||
|
||||
Reference in New Issue
Block a user