commit | 4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Sep 27 01:42:07 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Sep 27 01:42:07 2012 +0000 |
tree | 90a7e008fc606596eb77adfb3c05f1e52c75eb30 | |
parent | 8ba0fba28afcfd9797175281e0fbcb9b2e25dd05 [diff] [blame] |
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
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp index ae52004..7e65483 100644 --- a/clang/tools/libclang/Indexing.cpp +++ b/clang/tools/libclang/Indexing.cpp
@@ -68,8 +68,8 @@ const Token &IncludeTok, StringRef FileName, bool IsAngled, + CharSourceRange FilenameRange, const FileEntry *File, - SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) { bool isImport = (IncludeTok.is(tok::identifier) &&