[cfe-commits] r146451 - /cfe/trunk/lib/Lex/ModuleMap.cpp

Douglas Gregor dgregor at apple.com
Mon Dec 12 15:55:05 PST 2011


Author: dgregor
Date: Mon Dec 12 17:55:05 2011
New Revision: 146451

URL: http://llvm.org/viewvc/llvm-project?rev=146451&view=rev
Log:
Set umbrella directory correctly when we infer a framework module

Modified:
    cfe/trunk/lib/Lex/ModuleMap.cpp

Modified: cfe/trunk/lib/Lex/ModuleMap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/ModuleMap.cpp?rev=146451&r1=146450&r2=146451&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/ModuleMap.cpp (original)
+++ cfe/trunk/lib/Lex/ModuleMap.cpp Mon Dec 12 17:55:05 2011
@@ -244,7 +244,7 @@
   // umbrella header "umbrella-header-name"
   Result->Umbrella = UmbrellaHeader;
   Headers[UmbrellaHeader] = Result;
-  UmbrellaDirs[FrameworkDir] = Result;
+  UmbrellaDirs[UmbrellaHeader->getDir()] = Result;
   
   // export *
   Result->Exports.push_back(Module::ExportDecl(0, true));





More information about the cfe-commits mailing list