[ms-inline asm] Add a comment describing the MapAndConstraints.
authorChad Rosier <mcrosier@apple.com>
Fri, 5 Oct 2012 19:00:51 +0000 (19:00 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 5 Oct 2012 19:00:51 +0000 (19:00 +0000)
llvm-svn: 165326

llvm/include/llvm/MC/MCTargetAsmParser.h

index c5451ce..a966a6b 100644 (file)
@@ -50,6 +50,8 @@ public:
   virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
                              SMLoc &EndLoc) = 0;
 
+  /// MapAndConstraints - Map inline assembly operands to MCInst operands
+  /// and an associated constraint.
   typedef std::pair< unsigned, std::string > MapAndConstraint;
   typedef SmallVector<MapAndConstraint, 4> MatchInstMapAndConstraints;
   typedef SmallVectorImpl<MapAndConstraint> MatchInstMapAndConstraintsImpl;