]> granicus.if.org Git - clang/commit
Allow a C11 generic selection expression to select a function with the overloadable...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 2 Sep 2016 13:45:40 +0000 (13:45 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 2 Sep 2016 13:45:40 +0000 (13:45 +0000)
commit7453511ad2de56589b4ef083bcb875a9d9d62b2e
treeb9fd60fadd75df32f358562e719c72bb0b1628e2
parentab6be7a663fe9e45bfb9ea84769ca0a7d5c11028
Allow a C11 generic selection expression to select a function with the overloadable attribute as the result expression without crashing. This fixes PR30201.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280483 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/Sema/SemaOverload.cpp
test/Sema/generic-selection.c