diff options
| author | Vedant Kumar <vsk@apple.com> | 2017-08-25 18:07:03 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2017-08-25 18:07:03 +0000 |
| commit | fd9fad9e0227cb3cd387862c5d6b9abecbb87904 (patch) | |
| tree | 130f2e435b741d6c2820335a05469bb1c5a3c6ae /llvm/lib/Transforms | |
| parent | 7fd34e4b80f674e9c08ae5b7b5dc52bc45c50816 (diff) | |
| download | bcm5719-llvm-fd9fad9e0227cb3cd387862c5d6b9abecbb87904.tar.gz bcm5719-llvm-fd9fad9e0227cb3cd387862c5d6b9abecbb87904.zip | |
[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
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

