llvm-project/clang/test/FixIt
Alexander Shaposhnikov 3dbef856d4 [clang] Fix format specifiers fixits for nested macros
ExpansionLoc was previously calculated incorrectly in the case of 
nested macros expansions. In this diff we build the stack of expansions 
where the last one is the actual expansion which should be used 
for grouping together the edits. 
The definition of MacroArgUse is adjusted accordingly.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D34268

llvm-svn: 305845
2017-06-20 20:46:58 +00:00
..
Inputs Don't try to emit nullability fix-its within/around macros. 2016-12-19 22:35:24 +00:00
atomic-property.m Stop back-patching 'readonly' Objective-C properties with 'readwrite' ones. 2015-11-03 01:15:46 +00:00
auto-fixit.m
auto-isa-fixit.m
bridge-cast-in-arc.mm
bridge-in-non-arc.m
dereference-addressof.c
fixit-autoreleasepool.m
fixit-availability.c Add support for pretty platform names to `@available`/ 2017-05-09 15:34:46 +00:00
fixit-availability.mm Add support for pretty platform names to `@available`/ 2017-05-09 15:34:46 +00:00
fixit-c90.c
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 Diagnose ref-qualifiers occuring after virt-specifier-seq and generate fixit hints 2015-03-25 00:53:33 +00:00
fixit-cxx1y-compat.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
fixit-cxx11-attributes.cpp
fixit-cxx11-compat.cpp
fixit-eof-space.c [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
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] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
fixit-function-call.cpp
fixit-include.c
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] Use overwriteChangedFiles() to deal with Windows mapped files 2015-06-17 17:47:30 +00:00
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 Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
fixit-objc-arc.m
fixit-objc-bridge-related-attr.m
fixit-objc-bridge-related-property.m
fixit-objc-bridge-related.m Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
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-recompile.c
fixit-recursive-block.c Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
fixit-static-object-decl.m
fixit-suffix.c
fixit-unicode-with-utf8-output.c
fixit-unicode.c
fixit-uninit.c
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 Re-commit r273548, reverted in r273589, with a fix to not produce 2016-06-23 19:02:52 +00:00
fixit.c [clang] Cleanup fixit.c 2017-06-09 22:20:52 +00:00
fixit.cpp [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +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 Update tests touched by r249656 2015-10-08 06:31:22 +00:00
format.mm
messages.cpp
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
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 Don't try to emit nullability fix-its within/around macros. 2016-12-19 22:35:24 +00:00
objc-literals.m
property-access-fixit.m
selector-fixit.m
typo-crash.cpp
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
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