llvm-project/clang/test/FixIt
Kaelyn Uhrain 638264ea2a Provide a better diagnostic and a fixit for a '.' or '->' before the left paren
of a function call.

This fixes PR5898 and means we now have a better diagnostic here than GCC.

llvm-svn: 186208
2013-07-12 21:43:02 +00:00
..
atomic-property.m Test for my last patch. // rdar://10267155. 2012-02-29 22:21:36 +00:00
auto-fixit.m Provide Fixit warning when 'auto' is intended as storage 2011-02-22 23:17:49 +00:00
auto-isa-fixit.m Objective-C: Provide fixit hints when warning 2013-04-02 18:57:54 +00:00
bridge-cast-in-arc.mm Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
bridge-in-non-arc.m Objective-C arc [qui]. Don't issue the bridge cast 2013-04-02 23:48:59 +00:00
dereference-addressof.c Add */& mismatch fixit generation to the Sema::DiagnoseAssignmentResult(). 2011-07-28 19:51:27 +00:00
fixit-autoreleasepool.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-c90.c Remove useless 'XPASS: *' from tests 2013-01-25 22:20:24 +00:00
fixit-cxx0x.cpp Add -Wdeprecated warnings and fixits for things deprecated in C++11: 2013-06-13 02:02:51 +00:00
fixit-cxx1y-compat.cpp The 'constexpr implies const' rule for non-static member functions is gone in 2013-04-21 01:08:50 +00:00
fixit-cxx11-attributes.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-cxx11-compat.cpp Implement C++11 [lex.ext]p10 for string and character literals: a ud-suffix not 2012-03-08 02:39:21 +00:00
fixit-errors-1.c Remove useless 'XPASS: *' from tests 2013-01-25 22:20:24 +00:00
fixit-errors.c This test actually passes, just add the missing expected-error 2013-01-25 22:08:24 +00:00
fixit-function-call.cpp PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so: 2011-09-06 03:01:15 +00:00
fixit-include.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-include.h Adding a fixit for includes that cannot be found with angle brackets, but can be found with quoted strings instead. Implements PR13201. 2012-07-17 23:19:16 +00:00
fixit-interface-as-param.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-missing-method-return-type.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
fixit-missing-self-in-block.m objective-C arc: Warn under arc about a use of an ivar inside a block 2012-10-03 17:55:29 +00:00
fixit-newline-style.c Fix an assertion failure printing the unused-label fixit in files using CRLF line endings. <rdar://problem/12639047>. 2012-11-14 01:28:38 +00:00
fixit-nsstring-compare.m objc: Provide correct fixit instruction when two mismatched 2013-02-01 20:04:49 +00:00
fixit-objc-message-comma-separator.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-objc-message.m PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so: 2011-09-06 03:01:15 +00:00
fixit-objc.m Objective-C [qoi]: Issue better warning when nsstring literal is missing 2013-06-10 23:51:51 +00:00
fixit-pmem.cpp
fixit-recompile.c Introduce 3 new fixit options: 2012-01-26 02:40:48 +00:00
fixit-recursive-block.c improve on diagnostic when block captures uninitialized 2012-03-08 00:52:24 +00:00
fixit-static-object-decl.m Unify return type checking for functions and ObjC methods. Move all the 2013-06-14 21:14:10 +00:00
fixit-suffix.c
fixit-unicode.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-unrecoverable.c Implement a new identifier-classification scheme where Sema 2011-04-24 05:37:28 +00:00
fixit-unrecoverable.cpp
fixit-vexing-parse-cxx0x.cpp Use character literals for vexing initialization fixit hints. 2012-03-18 02:56:47 +00:00
fixit-vexing-parse.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit.c If a comma operator is followed by a token which unambiguously indicates the 2012-09-18 00:52:05 +00:00
fixit.cpp Provide a better diagnostic and a fixit for a '.' or '->' before the left paren 2013-07-12 21:43:02 +00:00
format-darwin.m Fix testcase. 2013-03-25 23:05:40 +00:00
format-no-fixit.m Suggest '%@' for Objective-C objects in ObjC format strings. 2012-05-30 21:53:13 +00:00
format.m Format strings: don't ever convert %+d to %lu. 2013-01-17 22:34:10 +00:00
format.mm Format strings: offer a cast to 'unichar' for %C in Objective-C contexts. 2012-12-05 18:44:49 +00:00
messages.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
no-fixit.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
no-macro-fixit.c Issue the 2nd fixit even if fix-it hint is supressed. 2011-04-13 22:18:37 +00:00
no-typo.c
objc-literals.m Now that -Wobjc-literal-compare is a warning, put the fixit on a note. 2012-07-17 17:46:40 +00:00
selector-fixit.m Objective-C [qoi]: privide typo correction for selectors 2013-06-18 15:31:36 +00:00
typo-crash.cpp Look for corrections in enclosing namespaces that require a global NestedNameSpecifier. 2013-07-02 23:47:35 +00:00
typo-crash.m
typo-using.cpp Offer typo suggestions for 'using' declarations. 2013-07-10 17:34:22 +00:00
typo.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
typo.cpp Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +00:00
typo.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00