summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-04-16 16:53:41 +0000
committerDiego Novillo <dnovillo@google.com>2014-04-16 16:53:41 +0000
commitdf655013a997cc07dde62316bd4ba0b17fb3c25a (patch)
tree63c095676c99367a0848540c4b8f6a9be0885799 /clang/lib/CodeGen/CodeGenAction.cpp
parent4e40d7b07402fdd82686a5eb37d32d3914d61b30 (diff)
downloadbcm5719-llvm-df655013a997cc07dde62316bd4ba0b17fb3c25a.tar.gz
bcm5719-llvm-df655013a997cc07dde62316bd4ba0b17fb3c25a.zip
Allow diagnostic handlers to check for optimization remarks.
Summary: When optimization remarks are enabled via the driver flag -Rpass, we should allow the FE diagnostic handler to check if the given pass name needs a diagnostic. We were unconditionally checking the pattern defined in opt's -pass-remarks flag. This was causing the FE to not emit any diagnostics. Reviewers: qcolombet CC: llvm-commits Differential Revision: http://reviews.llvm.org/D3362 llvm-svn: 206400
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud