diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-07 02:28:31 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-07 02:28:31 +0000 |
commit | 307f17b9383dff92540e7fb8da28d36f966c2834 (patch) | |
tree | 95d2600f3142045f4a8f7acea364884174e35002 /include | |
parent | a7f23233fa12f7a67e8eb3ddaa3de9639a282f06 (diff) | |
download | llvm-307f17b9383dff92540e7fb8da28d36f966c2834.tar.gz llvm-307f17b9383dff92540e7fb8da28d36f966c2834.tar.bz2 llvm-307f17b9383dff92540e7fb8da28d36f966c2834.tar.xz |
MCParser: introduce Note and use it for ARM AsmParser
Introduce a new virtual method Note into the AsmParser. This completements the
existing Warning and Error methods. Use the new method to clean up the output
of the unwind routines in the ARM AsmParser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCParser/MCAsmParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/MCAsmParser.h b/include/llvm/MC/MCParser/MCAsmParser.h index 1d15534299..0389caa054 100644 --- a/include/llvm/MC/MCParser/MCAsmParser.h +++ b/include/llvm/MC/MCParser/MCAsmParser.h @@ -118,6 +118,10 @@ public: const MCInstPrinter *IP, MCAsmParserSemaCallback &SI) = 0; + /// Note - Emit a note at the location \p L, with the message \p Msg. + virtual void Note(SMLoc L, const Twine &Msg, + ArrayRef<SMRange> Ranges = None) = 0; + /// Warning - Emit a warning at the location \p L, with the message \p Msg. /// /// \return The return value is true, if warnings are fatal. |