commit | 13e41baf7883704f60e86c06d794652330c2bd93 | [log] [tgz] |
---|---|---|
author | Ben Langmuir <blangmuir@apple.com> | Tue Apr 22 17:40:12 2014 +0000 |
committer | Ben Langmuir <blangmuir@apple.com> | Tue Apr 22 17:40:12 2014 +0000 |
tree | 53566265f3859f9265d8008b5ca62f5b4ac45a9f | |
parent | 1b710a8d225a503a9c44cfd15de18794403e6a83 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206909 91177308-0d34-0410-b5e6-96231b3b80d8