summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-08-10 01:06:16 +0000
committerJordan Rose <jordan_rose@apple.com>2012-08-10 01:06:16 +0000
commitb00073db8014e8d9ced23cac9b2423179ebc9db2 (patch)
treee8fefb2be02c6759466450e3dca49ff171384562 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentea762b046017664e38b149e6cdba88b943bb30c0 (diff)
downloadbcm5719-llvm-b00073db8014e8d9ced23cac9b2423179ebc9db2.tar.gz
bcm5719-llvm-b00073db8014e8d9ced23cac9b2423179ebc9db2.zip
Update VerifyDiagnosticConsumer to only get directives during parsing.
The old behavior was to re-scan any files (like modules) where we may have directives but won't actually be parsing during the -verify invocation. Now, we keep the old behavior in Debug builds as a sanity check (though modules are a known entity), and expect all legitimate directives to come from comments seen by the preprocessor. This also affects the ARC migration tool, which captures diagnostics in order to filter some out. This change adds an explicit cleanup to CaptureDiagnosticsConsumer in order to let its sub-consumer handle the real end of diagnostics. This was originally split into four patches, but the tests do not run cleanly without all four, so I've combined them into one commit. Patches by Andy Gibbs, with slight modifications from me. llvm-svn: 161650
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud