diff options
| author | Diego Novillo <dnovillo@google.com> | 2014-04-21 23:16:03 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2014-04-21 23:16:03 +0000 |
| commit | 9f2399773256b63b503c9c7432b92257d338e0b9 (patch) | |
| tree | d880e1eb0a8852a0d42494461d2c9eff4cee2ffa /llvm/lib/CodeGen/MachineSink.cpp | |
| parent | 97d484342c36754609c8d68b373940cb45da0dea (diff) | |
| download | llvm-9f2399773256b63b503c9c7432b92257d338e0b9.zip llvm-9f2399773256b63b503c9c7432b92257d338e0b9.tar.gz llvm-9f2399773256b63b503c9c7432b92257d338e0b9.tar.bz2 | |
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
llvm-svn: 206826
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions
