diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-01-10 18:50:15 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-01-10 18:50:15 +0000 |
commit | efd8f80ed51fcc334faba3a66566c4ea6e80e819 (patch) | |
tree | 95422cedb3bec0220b456c061e21c18857baae30 /llvm/lib/Support/Triple.cpp | |
parent | f12e8a93ee7afbdac23c424a805b51682cc86746 (diff) | |
download | bcm5719-llvm-efd8f80ed51fcc334faba3a66566c4ea6e80e819.tar.gz bcm5719-llvm-efd8f80ed51fcc334faba3a66566c4ea6e80e819.zip |
Add basic fix-its to SMDiagnostic.
Like Clang's FixItHint, SMFixIt represents an insertion, replacement, or
removal of source text. One or more fix-its can be emitted as part of
a diagnostic, and will be printed below the source range line to show the
user how they can fix their code.
Currently, the only client of SMFixIt is clang-tblgen; thus, the tests for
this behavior live in clang/test/TableGen/tg-fixits.td. If/when SMFixIt is
adopted within LLVM itself, those tests should be moved to the LLVM suite.
llvm-svn: 172086
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions