projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc09555
)
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)
llvm-svn: 174846
llvm/lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/AsmParser/LLParser.cpp
b/llvm/lib/AsmParser/LLParser.cpp
index
9a76007
..
e2f42d8
100644
(file)
--- a/
llvm/lib/AsmParser/LLParser.cpp
+++ b/
llvm/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;