llvm-6502/include/llvm/MC/MCParser
Ehsan Akhgari e6f6980d5b ms-inline-asm: Fix parsing label names inside bracket expressions
Summary:
This fixes a couple of issues.  One is ensuring that AOK_Label rewrite
rules have a lower priority than AOK_Skip rules, as AOK_Skip needs to
be able to skip the brackets properly.  The other part of the fix ensures
that we don't overwrite Identifier when looking up the identifier, and
that we use the locally available information to generate the AOK_Label
rewrite in ParseIntelIdentifier.  Doing that in CreateMemForInlineAsm
would be problematic since the Start location there may point to the
beginning of a bracket expression, and not necessarily the beginning of
an identifier.

This also means that we don't need to carry around the InternlName field,
which helps simplify the code.

Test Plan: This will be tested on the clang side.

Reviewers: rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5445

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218270 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-22 20:40:36 +00:00
..
AsmCond.h
AsmLexer.h MC: AsmLexer: handle multi-character CommentStrings correctly 2014-08-14 02:51:43 +00:00
MCAsmLexer.h MCParser: add a single token lookahead 2014-02-09 23:29:24 +00:00
MCAsmParser.h ms-inline-asm: Fix parsing label names inside bracket expressions 2014-09-22 20:40:36 +00:00
MCAsmParserExtension.h
MCParsedAsmOperand.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00