diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-15 17:54:22 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-15 17:54:22 +0000 |
commit | 10b2368e9f90898888300748f96bba6a566e283e (patch) | |
tree | f5945099278d2fefa36152a8b1e63a8196e75be4 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 7a03c852d0361df55b14127acc613be8e5c43f63 (diff) | |
download | llvm-10b2368e9f90898888300748f96bba6a566e283e.zip llvm-10b2368e9f90898888300748f96bba6a566e283e.tar.gz llvm-10b2368e9f90898888300748f96bba6a566e283e.tar.bz2 |
Allow resolving headers from a PCH even after headers+PCH were moved to another path.
Store in PCH the directory that the PCH was originally created in.
If a header file is not found at the path that we expect it to be and the PCH file
was moved from its original location, try to resolve the file by assuming that
header+PCH were moved together and the header is in the same place relative to the PCH.
llvm-svn: 125576
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions