llvm-project/clang/test/FixIt
Kaelyn Takata 20deb1d78c Use the real CXXScopeSpec when setting the correction SourceRange.
Otherwise, in the most important case and the only case where SS and
TempSS are different (which is when the CXXScopeSpec should be dropped,
and TempSS is NULL) the wrong SourceRange will be used in the fixit for
the typo correction. Fixes the remaining issue in PR20626.

llvm-svn: 227278
2015-01-28 00:46:09 +00:00
..
atomic-property.m
auto-fixit.m
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
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-class-method-messaging.m Objective-C [qoi]. Provide fix-it hint when sending 2014-08-19 23:39:17 +00:00
fixit-cxx0x.cpp Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
fixit-cxx1y-compat.cpp C++1y is now C++14! 2014-08-19 15:55:55 +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
fixit-errors-1.c Fix test to actually check the FixIt-applied code 2013-11-03 01:50:38 +00:00
fixit-errors.c Improve diagnostics if _Noreturn is placed after a function declarator. (This sometimes happens when a macro is used that expands to either the GNU noreturn attribute or _Noreturn.) 2014-11-10 21:10:32 +00:00
fixit-function-call.cpp
fixit-include.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit-include.h Normalize line endings 2014-03-02 18:46:05 +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
fixit-missing-self-in-block.m
fixit-multiple-selector-warnings.m Objective-C. When we use @selector(save:), etc. there may be more 2014-06-24 17:02:19 +00:00
fixit-newline-style.c
fixit-nsstring-compare.m objc: Provide correct fixit instruction when two mismatched 2013-02-01 20:04:49 +00:00
fixit-objc-arc.m Objective-C. After providing a fix-it for a 2013-12-18 21:04:43 +00:00
fixit-objc-bridge-related-attr.m Objective-C. Provide fixit's for objc_bride_related 2013-12-10 17:08:13 +00:00
fixit-objc-bridge-related-property.m ObjectiveC. Provide a property-dot syntax for fixit 2013-12-10 23:18:06 +00:00
fixit-objc-bridge-related.m Objective-C ARC. Provide diagnostic and fix-it 2014-06-26 21:22:16 +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
fixit-objc.m Objective-C. After providing a fix-it for a 2013-12-18 21:04:43 +00:00
fixit-pmem.cpp
fixit-recompile.c
fixit-recursive-block.c
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-with-utf8-output.c check-clang: Introduce the feature "utf8-capable-terminal". 2014-02-06 07:15:59 +00:00
fixit-unicode.c Test for correct usage of columnWidth in clang fixit hints. 2013-09-11 18:10:30 +00:00
fixit-uninit.c Testcase I forgot to svn add in r191057. 2013-09-20 02:48:08 +00:00
fixit-unrecoverable.c
fixit-unrecoverable.cpp Wire up delayed typo correction to DiagnoseEmptyLookup and set up 2014-11-20 22:06:40 +00:00
fixit-vexing-parse-cxx0x.cpp
fixit-vexing-parse.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
fixit.c Unify handling of string literal arguments for attributes and add fixits. 2013-09-13 15:35:43 +00:00
fixit.cpp PR21969: Improve diagnostics for a conversion function that has any pieces of a 2014-12-19 02:07:47 +00:00
format-darwin.m Temporary revert r221818 until all the problems 2014-11-12 23:15:38 +00:00
format-no-fixit.m
format.m Fix test on platforms where size_t is not 'unsigned long'. 2014-05-31 15:06:33 +00:00
format.mm Special case '%C' handling in ObjC format strings to handle integer literals that can represent unicode characters 2013-10-15 05:25:17 +00:00
messages.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
multiarg-selector-fixit.m Objective-C [qoi]. Patch to not do Fix-It for fixing 2014-08-12 22:16:41 +00:00
no-diagnostics-fixit-info.c Add a test for -fno-diagnostics-fixit-info 2013-12-17 01:19:19 +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
no-typo.c
objc-literals.m
property-access-fixit.m Objective-C [qoi]. Issue warning and fixit if property-dot syntax 2014-08-08 22:33:24 +00:00
selector-fixit.m Objective-C [qoi]: privide typo correction for selectors 2013-06-18 15:31:36 +00:00
typo-crash.cpp Implement [class.friend]p11's special name lookup rules for friend declarations 2013-08-09 04:35:01 +00:00
typo-crash.m
typo-location-bugs.cpp Use the real CXXScopeSpec when setting the correction SourceRange. 2015-01-28 00:46:09 +00:00
typo-using.cpp Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +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