]> granicus.if.org Git - clang/commit
The GNU-style aligned attribute has an optional expression, but the generated pretty...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 1 Aug 2014 13:49:00 +0000 (13:49 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 1 Aug 2014 13:49:00 +0000 (13:49 +0000)
commit18dfa9d42e05217a0c17ad051788b705996cefb4
tree2b2b21c7b4ed1e36ae2f8cc6e3a6c4d404b2a038
parent343298a5276fdf025c951f4a2a1778e05a0993bd
The GNU-style aligned attribute has an optional expression, but the generated pretty printing logic was unaware of this. Fixed the pretty printing logic, and added a test to ensure it no longer asserts.

Added a FIXME to the code about eliding the parenthesis when pretty printing such a construct.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214513 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/ast-print.c
utils/TableGen/ClangAttrEmitter.cpp