[ms-inline asm] Add error check for `getAsInteger`
.Imm can get lexed as a real, but a real doesn't equal to .Imm, e.g., 2.5 or .123e+8. We should report error for it rather than silently ignore. Reviewed By: skan Differential Revision: https://reviews.llvm.org/D151652
Loading
Please sign in to comment