summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite
diff options
context:
space:
mode:
authorWill Wilson <will@indefiant.com>2013-12-27 19:46:16 +0000
committerWill Wilson <will@indefiant.com>2013-12-27 19:46:16 +0000
commit0fafd34a6e7a49adeabf463f45b47c11db965ee9 (patch)
tree718f857a10e540cc9cd3c44e6634b741521c4710 /clang/lib/Rewrite
parent558cab2f4936cceea7510e516cb646262a016312 (diff)
downloadbcm5719-llvm-0fafd34a6e7a49adeabf463f45b47c11db965ee9.tar.gz
bcm5719-llvm-0fafd34a6e7a49adeabf463f45b47c11db965ee9.zip
Implement MSVC header search algorithm in MicrosoftMode.
Follows algorithm described here: http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx llvm-svn: 198082
Diffstat (limited to 'clang/lib/Rewrite')
-rw-r--r--clang/lib/Rewrite/Frontend/InclusionRewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp b/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
index 0e3e53498b5..f304c941648 100644
--- a/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
+++ b/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
@@ -335,7 +335,7 @@ bool InclusionRewriter::HandleHasInclude(
bool isAngled = PP.GetIncludeFilenameSpelling(Tok.getLocation(), Filename);
const DirectoryLookup *CurDir;
const FileEntry *File = PP.getHeaderSearchInfo().LookupFile(
- Filename, isAngled, 0, CurDir,
+ Filename, SourceLocation(), isAngled, 0, CurDir,
PP.getSourceManager().getFileEntryForID(FileId), 0, 0, 0, false);
FileExists = File != 0;
OpenPOWER on IntegriCloud