diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-04 23:37:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-04 23:37:59 +0000 |
commit | 4eca9b93720b8f5746159eed43a0b3c0bf496db0 (patch) | |
tree | 6bef588cf2e4f659f1dc6daf772ec5b19b14e43e /llvm/lib/Fuzzer/FuzzerFlags.def | |
parent | 712d5c393b7d5d336e60b528788e3f2e46bb8777 (diff) | |
download | bcm5719-llvm-4eca9b93720b8f5746159eed43a0b3c0bf496db0.tar.gz bcm5719-llvm-4eca9b93720b8f5746159eed43a0b3c0bf496db0.zip |
[modules] When using -E, we may try to merge decls despite having no Sema
object. In such a case, use the TU's DC for merging global decls rather than
giving up when we find there is no TU scope.
Ultimately, we should probably avoid all loading of decls when preprocessing,
but there are other reasonable use cases for loading an AST file with no Sema
object for which this is the right thing.
llvm-svn: 228234
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
0 files changed, 0 insertions, 0 deletions