aboutsummaryrefslogtreecommitdiff
path: root/lib/Object/Error.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-02-12 18:29:02 +0000
committerChad Rosier <mcrosier@apple.com>2013-02-12 18:29:02 +0000
commit8915e27704b2afd362a69c6be1111fb06bbcc727 (patch)
tree068e87c713405ef644808ce4b7e7bb49eea6c289 /lib/Object/Error.cpp
parent1cb058f77c7b15045c677ef30586fe45c2929010 (diff)
[ms-inline asm] Add support for lexing binary integers with a [bB] suffix.
This is complicated by backward labels (e.g., 0b can be both a backward label and a binary zero). The current implementation assumes [0-9]b is always a label and thus it's possible for 0b and 1b to not be interpreted correctly for ms-style inline assembly. However, this is relatively simple to fix in the inline assembly (i.e., drop the [bB]). This patch also limits backward labels to [0-9]b, so that only 0b and 1b are ambiguous. Part of rdar://12470373 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions