]> granicus.if.org Git - clang/commit
Add tests for `&enable_if_function` diagnostics.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 3 Dec 2015 20:54:58 +0000 (20:54 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 3 Dec 2015 20:54:58 +0000 (20:54 +0000)
commitf13bdea04027893a1f53e6f02318fba839d94022
treee19df88616e15d6e58ab65e111f8547b0f415e55
parent2b01bc711b56d6e5a5b27e4addb377fb572cdff2
Add tests for `&enable_if_function` diagnostics.

The introduction of pass_object_size fixed a few bugs related to taking
the address of a function with enable_if attributes. This patch adds
tests for the cases that were fixed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/Sema/enable_if.c
test/SemaCXX/enable_if.cpp