hanchenye-llvm-project/clang/test/FixIt
Richard Smith 943c440455 Improvements to vexing-parse warnings. Make the no-parameters case more
accurate by asking the parser whether there was an ambiguity rather than trying
to reverse-engineer it from the DeclSpec. Make the with-parameters case have
better diagnostics by using semantic information to drive the warning,
improving the diagnostics and adding a fixit.

Patch by Nikola Smiljanic. Some minor changes by me to suppress diagnostics for
declarations of the form 'T (*x)(...)', which seem to have a very high false
positive rate, and to reduce indentation in 'warnAboutAmbiguousFunction'.

llvm-svn: 160998
2012-07-30 21:30:52 +00:00
..
atomic-property.m Test for my last patch. // rdar://10267155. 2012-02-29 22:21:36 +00:00
auto-fixit.m
dereference-addressof.c
fixit-autoreleasepool.m objective-c: provide fixit hint for @autoreleasepool 2012-07-09 20:00:35 +00:00
fixit-c90.c
fixit-cxx0x.cpp Extend the "expected ';' after struct" logic to also apply to enums, and to 2012-06-25 21:37:02 +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
fixit-errors.c
fixit-function-call.cpp
fixit-include.c Remove dos line endings. Please remember to configure your windows SVN 2012-07-20 00:49:51 +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 objc: position of 'fixit' was off by one. 2012-05-29 21:52:45 +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-objc-message-comma-separator.m objective-c: provide a useful 'fixit' suggestion when 2012-05-21 22:43:44 +00:00
fixit-objc-message.m
fixit-objc.m
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
fixit-suffix.c
fixit-unicode.c Re-apply r160319 "Don't crash when emitting fixits following Unicode chars" 2012-07-20 18:50:51 +00:00
fixit-unrecoverable.c
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 Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
fixit.c Extend the "expected ';' after struct" logic to also apply to enums, and to 2012-06-25 21:37:02 +00:00
fixit.cpp Enable -Wnull-conversion for non-integral target types (eg: double). 2012-06-19 21:19:06 +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 Make suggestions for mismatched enum arguments to printf/scanf. 2012-06-04 22:49:02 +00:00
messages.cpp Add a test for r158229 (overlapping fixits). This was PR10696! 2012-06-08 22:46:04 +00:00
no-fixit.cpp Restrict fixit for missing 'class' in template template parameters. 2012-04-06 05:26:43 +00:00
no-macro-fixit.c
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
typo-crash.cpp Replace the workaround from r153445 with a proper fix. 2012-04-03 18:20:11 +00:00
typo-crash.m
typo.c Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
typo.cpp
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