projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f715c2
)
Eat the alignment keyword if we're in an attribute group.
author
Bill Wendling
<isanbard@gmail.com>
Sun, 10 Feb 2013 23:15:51 +0000
(23:15 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Sun, 10 Feb 2013 23:15:51 +0000
(23:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174846
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 9a76007bb9946eed996b9a19bf58b001487d366c..e2f42d823169706f0207f14db3e10917cfaea9ca 100644
(file)
--- a/
lib/AsmParser/LLParser.cpp
+++ b/
lib/AsmParser/LLParser.cpp
@@
-878,6
+878,7
@@
bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B,
// 2".
unsigned Alignment;
if (inAttrGrp) {
+ Lex.Lex();
if (ParseToken(lltok::equal, "expected '=' here") ||
ParseUInt32(Alignment))
return true;
@@
-891,6
+892,7
@@
bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B,
case lltok::kw_alignstack: {
unsigned Alignment;
if (inAttrGrp) {
+ Lex.Lex();
if (ParseToken(lltok::equal, "expected '=' here") ||
ParseUInt32(Alignment))
return true;