summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorVictor Leschuk <vleschuk@accesssoftek.com>2017-08-30 11:31:56 +0000
committerVictor Leschuk <vleschuk@accesssoftek.com>2017-08-30 11:31:56 +0000
commitdb68911b070847dd237518ff713e3349af0566ff (patch)
tree7f2b7db557cdf34df2041cceadae1cc75a4958ac /clang/lib/Frontend/FrontendActions.cpp
parent89df797ee978f36f66bdd2e53501aaaeea3d8c28 (diff)
downloadbcm5719-llvm-db68911b070847dd237518ff713e3349af0566ff.tar.gz
bcm5719-llvm-db68911b070847dd237518ff713e3349af0566ff.zip
Revert r312105 [modules] Add ability to specify module name to module file mapping
Looks like it breaks win10 builder. llvm-svn: 312112
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
-rw-r--r--clang/lib/Frontend/FrontendActions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp
index 3e3483d2c6b..d42400183a4 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -185,8 +185,8 @@ GenerateModuleFromModuleMapAction::CreateOutputFile(CompilerInstance &CI,
HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo();
CI.getFrontendOpts().OutputFile =
- HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule,
- ModuleMapFile);
+ HS.getModuleFileName(CI.getLangOpts().CurrentModule, ModuleMapFile,
+ /*UsePrebuiltPath=*/false);
}
// We use createOutputFile here because this is exposed via libclang, and we
OpenPOWER on IntegriCloud