forked from OSchip/llvm-project
Revert r171140. We don't actually need to support #NAME. Because NAME by itself is interpreted just fine.
llvm-svn: 171695
This commit is contained in:
parent
bd62d64cbf
commit
b21afc6db4
|
@ -2406,11 +2406,7 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
|
|||
|
||||
Init *DefmPrefix = 0;
|
||||
|
||||
Lex.Lex(); // eat the defm.
|
||||
|
||||
// Note that tgtok::paste is here to allow starting with #NAME.
|
||||
if (Lex.getCode() == tgtok::Id ||
|
||||
Lex.getCode() == tgtok::paste) {
|
||||
if (Lex.Lex() == tgtok::Id) { // eat the defm.
|
||||
DefmPrefix = ParseObjectName(CurMultiClass);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue