[llvm-branch-commits] [llvm-branch] r164501 - /llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp
Tom Stellard
thomas.stellard at amd.com
Mon Sep 24 08:53:17 PDT 2012
Author: tstellar
Date: Mon Sep 24 10:51:39 2012
New Revision: 164501
URL: http://llvm.org/viewvc/llvm-project?rev=164501&view=rev
Log:
Add comment.
Modified:
llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=164501&r1=164500&r2=164501&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/branches/R600/lib/Target/X86/AsmParser/X86AsmParser.cpp Mon Sep 24 10:51:39 2012
@@ -202,7 +202,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); }
virtual void print(raw_ostream &OS) const {}
More information about the llvm-branch-commits
mailing list