summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-04-21 23:16:03 +0000
committerDiego Novillo <dnovillo@google.com>2014-04-21 23:16:03 +0000
commit0da1b7016a9d5e5d25153fa3798351967fce1903 (patch)
tree2a3d3ee3685d8c07e97b37c9a27d731d892a1f3e /lib/CodeGen/CGExprConstant.cpp
parente2f48e941c2faecd1154ee8dec9458377b99aa4f (diff)
downloadclang-0da1b7016a9d5e5d25153fa3798351967fce1903.tar.gz
clang-0da1b7016a9d5e5d25153fa3798351967fce1903.tar.bz2
clang-0da1b7016a9d5e5d25153fa3798351967fce1903.tar.xz
Allow adding a value to a flag in diagnostics.
Summary: This allows callers of Diags.Report() to append a value to the name of the flag associated with the diagnostic. This is useful in cases like the -Rpass flag, where we want the diagnostic to show the name of the pass that matched the pattern. Instead of showing "... [-Rpass]", this allows us to show "... [-Rpass=passname]". Reviewers: rsmith CC: cfe-commits Differential Revision: http://reviews.llvm.org/D3441 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions