diff options
author | Manuel Klimek <klimek@google.com> | 2014-08-12 08:25:57 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2014-08-12 08:25:57 +0000 |
commit | 9af34aeac196631c4743f872dfd8eeaf211e0086 (patch) | |
tree | 0c24728e1eaf5074a04653bd3fefc2df6cafb3f4 /clang/lib/Lex/ModuleMap.cpp | |
parent | ce40dbcbaa3871671d0bb6d4131e9bbd99061ba7 (diff) | |
download | llvm-9af34aeac196631c4743f872dfd8eeaf211e0086.zip llvm-9af34aeac196631c4743f872dfd8eeaf211e0086.tar.gz llvm-9af34aeac196631c4743f872dfd8eeaf211e0086.tar.bz2 |
Correctly implement -include search logic.
According to the gcc docs, -include uses the current working directory
for the lookup instead of the main source file.
This patch gets rid of NormalizeIncludePath (which relied on an
implementation detail of FileManager / FileEntry for the include path
logic to work), and instead hands the correct lookup information down to
LookupFile.
This will allow us to change the FileEntry's behavior regarding its Name
caching.
llvm-svn: 215433
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions