hanchenye-llvm-project/clang/test/CodeCompletion
Douglas Gregor 928479e727 Revert the fix for PR8013.
That bug concerned the well-formedness of code such as (&ovl)(a, b,
c). GCC rejects the code, while EDG accepts it. On further study of the
standard, I see no support for EDG's position: in particular, C++
[over.over] does not list this as a context where we can take the
address of an overloaded function, C++ [over.call.func] does not
reference the address-of operator at any point, and C++ [expr.call]
claims that the function argument in a call is either a function
lvalue or a pointer-to-function; (&ovl) is neither.

llvm-svn: 118620
2010-11-09 20:03:54 +00:00
..
Inputs Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
call.c Only enable code patterns (e.g., try { statements } catch (...) { 2010-05-25 21:41:55 +00:00
call.cpp Revert the fix for PR8013. 2010-11-09 20:03:54 +00:00
enum-switch-case-qualified.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
enum-switch-case.c When performing code completion for a case statement in a switch whose 2010-07-28 21:50:18 +00:00
enum-switch-case.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
function-templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
functions.cpp When provide code completions for a variadic Objective-C method 2010-08-31 05:13:43 +00:00
macros.c Only prove macros as code-completion results when we're in a case 2010-04-06 20:02:15 +00:00
member-access.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-access.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
namespace-alias.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
namespace.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
nested-name-specifier.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
objc-message.m Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
operator.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
ordinary-name.c Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
ordinary-name.cpp Fix the mapping of vertical-space cursor kinds to produce a newline, 2010-10-08 20:39:29 +00:00
stdin.c Add support for code completion on stdin. 2010-10-26 23:21:25 +00:00
tag.c Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
tag.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
truncation.c when code completing inside a C-style block comment, don't emit errors about 2010-05-16 19:54:05 +00:00
truncation.c.h Replace the -code-completion-dump option with 2009-09-22 21:11:38 +00:00
using-namespace.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
using.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00