[PATCH] D14607: MS inline asm: produce "ambiguous" error when encountering "<type> ptr <reg name>"

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 08:57:50 PST 2015


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: lib/Target/X86/AsmParser/X86AsmParser.cpp:1770
@@ +1769,3 @@
+      if (PtrInOperand){
+        return ErrorOperand(Start, "expected memory operand after "
+          "'ptr', found register operand instead");
----------------
The broken string should align with the open paren. clang-format can do this.


Repository:
  rL LLVM

http://reviews.llvm.org/D14607





More information about the llvm-commits mailing list