Rework HeaderSearch's interface for getting a module from a name and
for getting the name of the module file, unifying the code for searching for a module with a given name (into lookupModule()) and separating out the mapping to a module file (into getModuleFileName()). No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149197 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Lex/HeaderSearch.h 34 additions, 25 deletionsinclude/clang/Lex/HeaderSearch.h
- lib/Frontend/CompilerInstance.cpp 18 additions, 4 deletionslib/Frontend/CompilerInstance.cpp
- lib/Frontend/FrontendActions.cpp 2 additions, 1 deletionlib/Frontend/FrontendActions.cpp
- lib/Lex/HeaderSearch.cpp 71 additions, 96 deletionslib/Lex/HeaderSearch.cpp
- lib/Lex/Preprocessor.cpp 1 addition, 1 deletionlib/Lex/Preprocessor.cpp
Loading
Please register or sign in to comment