]> granicus.if.org Git - clang/commit
The control expression for a _Generic selection expression should have
authorAaron Ballman <aaron@aaronballman.com>
Thu, 5 Nov 2015 00:06:05 +0000 (00:06 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 5 Nov 2015 00:06:05 +0000 (00:06 +0000)
commit2b549be9873b5e07f7819dd138f1a99c9a06ebcc
treee3334629f7505fb6732dc2533335b25fd2e9116a
parente1a6bbbe9d55033065a329c785b1d8cfec98ab9e
The control expression for a _Generic selection expression should have
its type decayed and qualifiers stripped when determining which
selection it matches. Fixes PR16340.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/generic-selection.c