diff options
author | Manuel Klimek <klimek@google.com> | 2011-04-26 21:50:03 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2011-04-26 21:50:03 +0000 |
commit | 7412494982c8b50c90961302c3a718633b2c3ab7 (patch) | |
tree | adaafb2743679b7df8e36cd214a9648c6db08318 /lib/Lex/PreprocessingRecord.cpp | |
parent | 37833b00d282cacb7dd1b9889e2a113eed9190ff (diff) |
To be able to replay compilations we need to accurately remodel how
includes get resolved, especially when they are found relatively to
another include file. We also try to get it working for framework
includes, but that part of the code is untested, as I don't have a code
base that uses it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessingRecord.cpp')
-rw-r--r-- | lib/Lex/PreprocessingRecord.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Lex/PreprocessingRecord.cpp b/lib/Lex/PreprocessingRecord.cpp index b7f6e75c47..9555611dc5 100644 --- a/lib/Lex/PreprocessingRecord.cpp +++ b/lib/Lex/PreprocessingRecord.cpp @@ -153,7 +153,8 @@ void PreprocessingRecord::InclusionDirective( bool IsAngled, const FileEntry *File, clang::SourceLocation EndLoc, - const llvm::SmallVectorImpl<char> &RawPath) { + llvm::StringRef SearchPath, + llvm::StringRef RelativePath) { InclusionDirective::InclusionKind Kind = InclusionDirective::Include; switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { |