llvm-project/clang/test/FixIt
Aaron Ballman c44c174246 Introduce the _Clang scoped attribute token.
Currently, we only accept clang as the scoped attribute identifier for double square bracket attributes provided by Clang, but this has the potential to conflict with user-defined macros. To help alleviate these concerns, this introduces the _Clang scoped attribute identifier as an alias for clang. It also introduces a warning with a fixit on the off chance someone attempts to use __clang__ as the scoped attribute (which is a predefined compiler identification macro).

llvm-svn: 346521
2018-11-09 17:19:45 +00: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-c90.c
fixit-class-method-messaging.m
fixit-cxx0x.cpp [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
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 Set the default C standard to C99 when targeting the PS4. 2016-04-27 19:53:03 +00:00
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: use getLocForEndOfToken to insert fix-it after a type name. 2016-06-02 00:11:03 +00:00
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 ObjC Class Property: diagnostics when accessing a class property using instance. 2016-06-28 23:01:49 +00:00
fixit-pmem.cpp
fixit-pragma-attribute.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
fixit-pragma-attribute.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +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
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
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 Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
format-darwin.m [clang] Enable printf check for CFIndex 2017-06-26 23:02:27 +00:00
format-no-fixit.m
format.m [clang] Add getUnsignedPointerDiffType method 2017-09-28 23:11:31 +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
typo-crash.m
typo-location-bugs.cpp
typo-using.cpp
typo.c
typo.cpp
typo.m Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00