diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-18 18:30:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-18 18:30:16 +0000 |
commit | c0b4b6724c5887c839e236bea97016028fb5db19 (patch) | |
tree | f31e376f0bfe420f4d4fdfe4898fd932729c19a3 | |
parent | fd7aa38e304a09fa0ef51b85b773b649b7e58c5e (diff) | |
download | external_llvm-c0b4b6724c5887c839e236bea97016028fb5db19.zip external_llvm-c0b4b6724c5887c839e236bea97016028fb5db19.tar.gz external_llvm-c0b4b6724c5887c839e236bea97016028fb5db19.tar.bz2 |
Fix comment. Patch by Stephen Lin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179780 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 1a15f6c..8fa626d 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -878,8 +878,9 @@ bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, // Target-independent attributes: case lltok::kw_align: { - // As a hack, we allow "align 2" on functions as a synonym for "alignstack - // 2". + // As a hack, we allow function alignment to be initially parsed as an + // attribute on a function declaration/definition or added to an attribute + // group and later moved to the alignment field. unsigned Alignment; if (inAttrGrp) { Lex.Lex(); |