Add comment.
authorChad Rosier <mcrosier@apple.com>
Fri, 21 Sep 2012 21:08:46 +0000 (21:08 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 21 Sep 2012 21:08:46 +0000 (21:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164415 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmParser/X86AsmParser.cpp

index e4c883f3450e7df141d9f5688a7da2159f98b0be..28cf5d3e6a2e54f1608fea838094938943dbd5e9 100644 (file)
@@ -202,7 +202,8 @@ struct X86Operand : public MCParsedAsmOperand {
   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 {}