have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets. rdar://11113134 & http://llvm.org/PR13880 llvm-svn: 164743
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user