summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-01 22:10:47 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-01 22:10:47 +0000
commitea74148f9f7156a638a913b22ef1beb9a5ece672 (patch)
treef3a58f19dad35181b825639972f0c37f0c40d8dd /llvm/lib/Transforms
parent60cff50b27f78e3f582be9e1ec073878412921f2 (diff)
downloadbcm5719-llvm-ea74148f9f7156a638a913b22ef1beb9a5ece672.tar.gz
bcm5719-llvm-ea74148f9f7156a638a913b22ef1beb9a5ece672.zip
Fix initial diagnostic state setup for an explicit module with no diagnostic pragmas.
If a file has no diagnostic pragmas, we build its diagnostic state lazily, but in this case we never set up the root state to be the diagnostic state in which the module was originally built, so the diagnostic flags for files in the module with no diagnostic pragmas were incorrectly based on the user of the module rather than the diagnostic state when the module was built. llvm-svn: 301846
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud