llvm-project/clang/test
Hans Wennborg d99d688358 Make -Wformat fix-its preserve original conversion specifiers.
This commit makes PrintfSpecifier::fixType() and ScanfSpecifier::fixType()
only fix a conversion specification enough that Clang wouldn't warn about it,
as opposed to always changing it to use the "canonical" conversion specifier.
(PR11975)

This preserves the user's choice of conversion specifier in cases like:

printf("%a", (long double)1);
where we previously suggested "%Lf", we now suggest "%La"

printf("%x", (long)1);
where we previously suggested "%ld", we now suggest "%lx".

llvm-svn: 150578
2012-02-15 09:59:46 +00:00
..
ARCMT Revert r145999. This turned out to be a bad idea. Unfortunately, 'id' is used so profusely 2012-02-10 02:45:47 +00:00
ASTMerge Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
Analysis [analyzer] Malloc Checker: Add another false positive as a todo test. 2012-02-15 00:11:28 +00:00
CXX Implement DR1454. This allows all intermediate results in constant expressions 2012-02-15 02:18:13 +00:00
CodeCompletion Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
CodeGen Loosen the test from r150238 a bit to make some of our bots happy. 2012-02-10 10:04:01 +00:00
CodeGenCUDA CUDA: IR generation support for device stubs 2011-10-06 18:51:56 +00:00
CodeGenCXX Split reinterpret_casts of member pointers out from CK_BitCast; this 2012-02-15 01:22:51 +00:00
CodeGenObjC Emit debug info for properites that are not backed by an ivar. 2012-02-07 18:40:30 +00:00
CodeGenObjCXX Move the code that sets the AddressSafety 2012-02-02 11:49:28 +00:00
CodeGenOpenCL A few style changes. 2012-01-19 01:16:16 +00:00
Coverage rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Driver Invalid O levels on the command line no longer have a confusing error. 2012-02-06 00:40:31 +00:00
FixIt Allow implicit capture of 'this' in a lambda even when the capture 2012-02-10 17:46:20 +00:00
Frontend Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Headers rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Index Implement indexing support for lambdas in libclang (both kinds), as 2012-02-15 00:54:55 +00:00
Lexer Advertize support for constexpr. 2012-02-14 22:56:17 +00:00
Misc Remove unused diagnostics from include/clang/Basic/Diagnostic*.td files. 2012-02-13 20:13:24 +00:00
Modules Use -isystem rather than relying on -isysroot to work consistently 2012-02-02 19:35:15 +00:00
PCH Simplify and robustify lambda PCH test 2012-02-14 18:47:12 +00:00
Parser Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
Preprocessor Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Rewriter Fix the rewriter that broke with r149987. 2012-02-12 04:48:45 +00:00
Sema Make -Wformat fix-its preserve original conversion specifiers. 2012-02-15 09:59:46 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX Implement DR1454. This allows all intermediate results in constant expressions 2012-02-15 02:18:13 +00:00
SemaObjC Revert r145999. This turned out to be a bad idea. Unfortunately, 'id' is used so profusely 2012-02-10 02:45:47 +00:00
SemaObjCXX Only complain about __strong __strong id, not __strong SomeStrongTypedef 2012-02-08 00:46:41 +00:00
SemaOpenCL Support constant evaluation for OpenCL nested vector literals. Patch by Anton Lokhmotov. 2012-01-03 23:24:20 +00:00
SemaTemplate If a static data member of a class template which could be used in a constant 2012-02-15 02:42:50 +00:00
Unit test/Unit: Fixup lit.cfg to allow running inside test/Unit (with llvm-config in 2011-06-22 21:46:43 +00:00
CMakeLists.txt CMake: Promote the testing targets out of folders on IDE. 2012-01-30 03:15:47 +00:00
Makefile lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Have the driver pass CPU and target feature information to cc1as. 2012-02-10 20:37:10 +00:00
lit.site.cfg.in lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
make_test_dirs.pl