llvm-project/clang/test/FixIt
Richard Smith 0e3a487784 PR12350: Handle remaining cases permitted by CWG DR 244.
Also add extension warnings for the cases that are disallowed by the
current rules for destructor name lookup, refactor and simplify the
lookup code, and improve the diagnostic quality when lookup fails.

The special case we previously supported for converting
p->N::S<int>::~S() from naming a class template into naming a
specialization thereof is subsumed by a more general rule here (which is
also consistent with Clang's historical behavior and that of other
compilers): if we can't find a suitable S in N, also look in N::S<int>.

The extension warnings are off by default, except for a warning when
lookup for p->N::S::~T() looks for T in scope instead of in N (or N::S).
That seems sufficiently heinous to warn on by default, especially since
we can't support it for a dependent nested-name-specifier.
2020-02-07 18:40:41 -08:00
..
Inputs [Sema] Put nullability fix-it after the end of the pointer. 2017-09-28 23:18:49 +00:00
atomic-property.m
auto-fixit.m
auto-isa-fixit.m
bridge-cast-in-arc.mm
bridge-in-non-arc.m
dereference-addressof.c
fixit-add-synthesize-to-property.m Add a fixit for -Wobjc-protocol-property-synthesis 2017-07-03 10:12:24 +00:00
fixit-autoreleasepool.m
fixit-availability.c unguarded availability: add a fixit for the "annotate '...' 2017-07-26 13:58:02 +00:00
fixit-availability.mm Unguarded availability diagnoser should use TraverseStmt instead of 2017-08-17 14:22:27 +00:00
fixit-c++2a.cpp [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
fixit-c++11.cpp Give 'fixit-cxx0x.cpp' a more modern name. 2019-05-20 23:37:18 +00:00
fixit-c90.c
fixit-class-method-messaging.m
fixit-cxx1y-compat.cpp
fixit-cxx11-attributes.cpp Introduce the _Clang scoped attribute token. 2018-11-09 17:19:45 +00:00
fixit-cxx11-compat.cpp
fixit-eof-space.c
fixit-errors-1.c
fixit-errors.c
fixit-format-darwin.m [clang] Enable printf check for CFIndex 2017-06-26 23:02:27 +00:00
fixit-format-ios-nopedantic.m [Sema] -Wformat-pedantic only for NSInteger/NSUInteger %zu/%zi on Darwin 2018-06-22 21:54:40 +00:00
fixit-format-ios.m [Sema] -Wformat-pedantic only for NSInteger/NSUInteger %zu/%zi on Darwin 2018-06-22 21:54:40 +00:00
fixit-function-call.cpp
fixit-include.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
fixit-include.h
fixit-interface-as-param.m
fixit-large-file.cpp
fixit-missing-method-return-type.m
fixit-missing-self-in-block.m
fixit-multiple-selector-warnings.m
fixit-newline-style.c
fixit-nsstring-compare.m
fixit-nullability-declspec.cpp
fixit-objc-arc.m
fixit-objc-bridge-related-attr.m
fixit-objc-bridge-related-property.m
fixit-objc-bridge-related.m
fixit-objc-message-comma-separator.m
fixit-objc-message.m
fixit-objc.m
fixit-pmem.cpp
fixit-pragma-attribute.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
fixit-pragma-attribute.cpp Add support for attributes on @implementations in Objective-C 2019-04-11 17:55:30 +00:00
fixit-pragma-pack.c -Wpragma-pack: add an additional note and fixit when warning 2017-07-31 13:37:50 +00:00
fixit-recompile.c
fixit-recursive-block.c Improve -Wuninitialized warning under ARC for block variables that are 2019-04-23 23:52:02 +00:00
fixit-static-object-decl.m
fixit-suffix.c
fixit-typedef-instead-of-typename-typo.cpp [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
fixit-unicode-with-utf8-output.c
fixit-unicode.c
fixit-uninit.c
fixit-unrecoverable.c
fixit-unrecoverable.cpp When typo-correcting a function name, consider correcting to a type name 2019-05-09 00:57:24 +00:00
fixit-unused-lambda-capture.cpp [Sema] Add fixit for unused lambda captures 2018-07-16 07:23:47 +00:00
fixit-vexing-parse-cxx0x.cpp
fixit-vexing-parse.cpp Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
fixit.c [clang] Cleanup fixit.c 2017-06-09 22:20:52 +00:00
fixit.cpp PR12350: Handle remaining cases permitted by CWG DR 244. 2020-02-07 18:40:41 -08:00
format-darwin.m [clang] Enable printf check for CFIndex 2017-06-26 23:02:27 +00:00
format-no-fixit.m
format.m [Sema] Don't warn on printf('%hd', [char]) (PR41467) 2019-08-23 18:01:57 +00:00
format.mm
messages.cpp
multiarg-selector-fixit.m
no-diagnostics-fixit-info.c
no-fixit.cpp [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
no-macro-fixit.c
no-typo.c
nullability.mm [Sema] Put nullability fix-it after the end of the pointer. 2017-09-28 23:18:49 +00:00
objc-literals.m
property-access-fixit.m
selector-fixit.m
typo-crash.cpp [c++20] Implement P0846R0: allow (ADL-only) calls to template-ids whose 2019-05-09 03:31:27 +00:00
typo-crash.m
typo-location-bugs.cpp
typo-using.cpp
typo.c
typo.cpp
typo.m