]> granicus.if.org Git - clang/commit
When loading an AST file, set SourceManager::MainFileID to the main file of the AST...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 5 Jan 2012 21:36:25 +0000 (21:36 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 5 Jan 2012 21:36:25 +0000 (21:36 +0000)
commitb8c879a5363f36bdae8831112b563333e3c05acb
treecfd0b285fc1a8ec98b29a7f339d040afc8b7e44d
parentcb7709c06027448c754dd03e2e521d82d04818bf
When loading an AST file, set SourceManager::MainFileID to the main file of the AST file,
as suggested by Tom Honermann.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147612 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
lib/Frontend/FrontendAction.cpp
lib/Lex/Preprocessor.cpp
lib/Serialization/ASTReader.cpp