[llvm-commits] [llvm] r164414 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Chad Rosier
mcrosier at apple.com
Fri Sep 21 13:51:43 PDT 2012
Author: mcrosier
Date: Fri Sep 21 15:51:43 2012
New Revision: 164414
URL: http://llvm.org/viewvc/llvm-project?rev=164414&view=rev
Log:
Add comment.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=164414&r1=164413&r2=164414&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Fri Sep 21 15:51:43 2012
@@ -487,7 +487,8 @@
SMLoc getStartLoc() const { return StartLoc; }
/// getEndLoc - Get the location of the last token of this operand.
SMLoc getEndLoc() const { return EndLoc; }
-
+ /// getLocRange - Get the range between the first and last token of this
+ /// operand.
SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
ARMCC::CondCodes getCondCode() const {
More information about the llvm-commits
mailing list