[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165326 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCTargetAsmParser.h

index c5451ceec4d2b1bfb5e0056a3f309443857f79e0..a966a6b8b32cae12e42a7b83cfcd23ff62562a80 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;