summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-08-25 18:07:03 +0000
committerVedant Kumar <vsk@apple.com>2017-08-25 18:07:03 +0000
commitfd9fad9e0227cb3cd387862c5d6b9abecbb87904 (patch)
tree130f2e435b741d6c2820335a05469bb1c5a3c6ae /llvm/lib/Transforms
parent7fd34e4b80f674e9c08ae5b7b5dc52bc45c50816 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud