diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-04-22 17:40:12 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-04-22 17:40:12 +0000 |
commit | 749323fadb9f3904f1e4cd875992f7c949cab2db (patch) | |
tree | acef128308e53bb9bbc6f0256fc2c5b31e2a2b98 /llvm/lib/IR | |
parent | 6b12850d272877bb33a56be7335df65af4413f19 (diff) | |
download | bcm5719-llvm-749323fadb9f3904f1e4cd875992f7c949cab2db.tar.gz bcm5719-llvm-749323fadb9f3904f1e4cd875992f7c949cab2db.zip |
Attempt to fix null ASTContext in ASTUnit error path
We don't need the ASTContext for the diagnostics, only the language
options, which we can get from the compiler invocation. It worries me
how many categorically different states the ASTUnit class can be in
depending on how it is being constructed/used.
llvm-svn: 206909
Diffstat (limited to 'llvm/lib/IR')
0 files changed, 0 insertions, 0 deletions