llvm-project/clang/lib
James Molloy 3636554b63 Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness.
Teach ASTContext about WIntType, and have it taken from TargetInfo like WCharType. Should fix test/Sema/format-strings.c for ARM, with the exception of one subtest which will fail if wint_t and wchar_t are the same size and wint_t is signed, wchar_t is unsigned.

There'll be a followup commit to fix that.

Reviewed by Chandler and Hans at http://llvm.org/reviews/r/8

llvm-svn: 156165
2012-05-04 10:55:22 +00:00
..
ARCMigrate Fix use of uninitialized variable caught by GCC's -Wmaybe-uninitialized. 2012-05-01 02:45:39 +00:00
AST Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness. 2012-05-04 10:55:22 +00:00
Analysis Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness. 2012-05-04 10:55:22 +00:00
Basic [PCH] When validating that the files coming from PCH did not change, also 2012-05-03 21:50:39 +00:00
CodeGen This patch adds a new Clang compiler flag "-gline-tables-only". 2012-05-04 07:39:27 +00:00
Driver Fix -Wlarge-by-value-copy option handling in the driver. 2012-05-04 08:08:37 +00:00
Edit Remove unused-but-set variable. 2012-03-13 17:05:43 +00:00
Frontend This patch adds a new Clang compiler flag "-gline-tables-only". 2012-05-04 07:39:27 +00:00
FrontendTool Fix cmake. Remaining two ClangCC1Options deps. 2012-05-02 05:31:31 +00:00
Headers Get rid of storelv4si builtin as it can be expressed directly. This is general 2012-05-01 18:11:51 +00:00
Lex In StringLiteralParser::init, make sure we emit an error when 2012-05-03 17:50:32 +00:00
Parse Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between 2012-05-03 18:27:39 +00:00
Rewrite objc modern translator: fix up attribute for dynamic property in a category. 2012-05-03 23:19:33 +00:00
Sema Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness. 2012-05-04 10:55:22 +00:00
Serialization [PCH] Really, pinky swear, fix for PR12689 2012-05-04 01:49:36 +00:00
StaticAnalyzer [analyzer] Assume pointer escapes when a callback is passed inside 2012-05-03 23:50:33 +00:00
Tooling Fixes the header search logic for tools: 2012-04-25 09:25:41 +00:00
CMakeLists.txt Remove the unused, unmaintained, incomplete 'Index' library. 2012-04-13 16:31:46 +00:00
Makefile Remove the unused, unmaintained, incomplete 'Index' library. 2012-04-13 16:31:46 +00:00