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)
commit9afd449e8ff4382d9479cfbc7acc38d74fbcfc76
tree0330af5b9aa30c4be2765f8144af26ae77f17a0f
parent7e325789af12aa3b933b7f7b1176805b4e1997de
When loading an AST file, set SourceManager::MainFileID to the main file of the AST file,
as suggested by Tom Honermann.

llvm-svn: 147612
clang/include/clang/Basic/SourceManager.h
clang/lib/Frontend/FrontendAction.cpp
clang/lib/Lex/Preprocessor.cpp
clang/lib/Serialization/ASTReader.cpp