llvm-project/clang/unittests/Frontend
Vedant Kumar fd9fad9e02 [Frontend] Fix printing policy for AST context loaded from file
In ASTUnit::LoadFromASTFile, the context object is set up using
default-constructed LangOptions (which only later get populated). As the
language options are used in the constructor of PrintingPolicy, this
needs to be updated explicitly after the language options are available.

Patch by Johann Klähn!

Differential Revision: https://reviews.llvm.org/D35271

llvm-svn: 311787
2017-08-25 18:07:03 +00:00
..
ASTUnitTest.cpp [Frontend] Fix printing policy for AST context loaded from file 2017-08-25 18:07:03 +00:00
CMakeLists.txt [Frontend] Fix printing policy for AST context loaded from file 2017-08-25 18:07:03 +00:00
CodeGenActionTest.cpp
FrontendActionTest.cpp Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00