diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2015-09-25 17:53:16 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2015-09-25 17:53:16 +0000 |
commit | aea6ade63a5e8969d8125be0020396e3bff03bfa (patch) | |
tree | 1ab3e8792992e5fb97445ca23bf4fe03beb7d7cf /clang/test/Index/availability.cpp | |
parent | 91b53846f78940a12241042ad3ec6b1f38aa7327 (diff) | |
download | bcm5719-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