]> granicus.if.org Git - clang/commit
Fix assertion "Chunk.Kind == DeclaratorChunk::Function" with attributed type.
authorDenis Zobnin <d.zobnin.bugzilla@gmail.com>
Wed, 10 Feb 2016 11:23:48 +0000 (11:23 +0000)
committerDenis Zobnin <d.zobnin.bugzilla@gmail.com>
Wed, 10 Feb 2016 11:23:48 +0000 (11:23 +0000)
commit93d783bb7629ccb5728cd287f759bc5a018eae2a
tree304c6f4bf84efd855ead88c9b02827ca03e0c754
parent82bd66e3f5c6ed901c84b5cdbcc6c7ad6ac59cdf
Fix assertion "Chunk.Kind == DeclaratorChunk::Function" with attributed type.

This patch is to upgrade FunctionTypeUnwrapper for correct processing of
AttributedType. Fixes PR25786.
Patch by Alexander Makarov.

Differential Revision: http://reviews.llvm.org/D15373

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/CodeGen/pr25786.c [new file with mode: 0644]
test/Sema/pr25786.c [new file with mode: 0644]