[PATCH] D48367: [modules] Fix 37878; Autoload subdirectory modulemaps with specific LangOpts
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 20 09:16:36 PDT 2018
aprantl added inline comments.
================
Comment at: clang/lib/Lex/HeaderSearch.cpp:285
// directory.
- loadSubdirectoryModuleMaps(SearchDirs[Idx]);
+ if (ModMap.getLangOpts().ObjC1 || ModMap.getLangOpts().ObjC2)
+ loadSubdirectoryModuleMaps(SearchDirs[Idx]);
----------------
Are these flags also enabled in Objective-C++ mode?
https://reviews.llvm.org/D48367
More information about the cfe-commits
mailing list