diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-27 01:42:07 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-27 01:42:07 +0000 |
commit | 4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68 (patch) | |
tree | 90a7e008fc606596eb77adfb3c05f1e52c75eb30 /clang/lib/Frontend/DependencyGraph.cpp | |
parent | 8ba0fba28afcfd9797175281e0fbcb9b2e25dd05 (diff) | |
download | bcm5719-llvm-4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68.tar.gz bcm5719-llvm-4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68.zip |
Per discussion in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html
have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets.
rdar://11113134 & http://llvm.org/PR13880
llvm-svn: 164743
Diffstat (limited to 'clang/lib/Frontend/DependencyGraph.cpp')
-rw-r--r-- | clang/lib/Frontend/DependencyGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/DependencyGraph.cpp b/clang/lib/Frontend/DependencyGraph.cpp index eebaf0c8fe4..7fb4ad72506 100644 --- a/clang/lib/Frontend/DependencyGraph.cpp +++ b/clang/lib/Frontend/DependencyGraph.cpp @@ -51,8 +51,8 @@ public: const Token &IncludeTok, StringRef FileName, bool IsAngled, + CharSourceRange FilenameRange, const FileEntry *File, - SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath); @@ -72,8 +72,8 @@ void DependencyGraphCallback::InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, + CharSourceRange FilenameRange, const FileEntry *File, - SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) { if (!File) |