[PATCH] D22112: Disambiguate a constant with both 0B prefix and H suffix.
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 12:31:10 PDT 2016
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm, thanks!
================
Comment at: lib/MC/MCParser/AsmLexer.cpp:285-286
@@ +284,4 @@
+ Radix = 16;
+ }
+ else if (FirstNonBinary && FirstNonBinary + 1 == CurPtr &&
+ (*FirstNonBinary == 'b' || *FirstNonBinary == 'B'))
----------------
We usually do `} else if (...) {`
https://reviews.llvm.org/D22112
More information about the llvm-commits
mailing list