summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/availability.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-09-25 17:53:16 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-09-25 17:53:16 +0000
commitaea6ade63a5e8969d8125be0020396e3bff03bfa (patch)
tree1ab3e8792992e5fb97445ca23bf4fe03beb7d7cf /clang/test/Index/availability.cpp
parent91b53846f78940a12241042ad3ec6b1f38aa7327 (diff)
downloadbcm5719-llvm-aea6ade63a5e8969d8125be0020396e3bff03bfa.tar.gz
bcm5719-llvm-aea6ade63a5e8969d8125be0020396e3bff03bfa.zip
Make incomplete type errors better with enable_if
This patch fixes the order in which we evaluate the different ways that a function call could be disallowed. Now, if you call a non-overloaded function with an incomplete type and failing enable_if, we'll prioritize reporting the more obvious error (use of incomplete type) over reporting the failing enable_if. Thanks to Ettore Speziale for the patch! llvm-svn: 248595
Diffstat (limited to 'clang/test/Index/availability.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud