summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/wchar_limits.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Driver: hoist the `wchar_t` handling to the driverSaleem Abdulrasool2017-10-061-1/+1
| | | | | | | | | | | | | | | | Move the logic for determining the `wchar_t` type information into the driver. Rather than passing the single bit of information of `-fshort-wchar` indicate to the frontend the desired type of `wchar_t` through a new `-cc1` option of `-fwchar-type` and indicate the signedness through `-f{,no-}signed-wchar`. This replicates the current logic which was spread throughout Basic into the `RenderCharacterOptions`. Most of the changes to the tests are to ensure that the frontend uses the correct type. Add a new test set under `test/Driver/wchar_t.c` to ensure that we calculate the proper types for the various cases. llvm-svn: 315126
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Remove __WCHAR_UNSIGNED__ and anything that used it.Eric Christopher2011-09-201-6/+0
| | | | llvm-svn: 140155
* Remove WCHAR_MIN and WCHAR_MAX from limits.h. According to posix and c99Eric Christopher2011-09-081-1/+1
| | | | | | | | these should be in stdint.h - and they already are. Fixes rdar://10097036. llvm-svn: 139332
* Use -ffreestanding with clang_cc1 to make the test picks the clang builtin ↵Francois Pichet2011-07-221-2/+2
| | | | | | include. llvm-svn: 135766
* Fix test on MSVC: since the test includes a system header it cannot use ↵Francois Pichet2011-07-221-2/+2
| | | | | | clang_cc1. llvm-svn: 135763
* Add a missing test for the limits on wcharAlexis Hunt2011-07-211-0/+15
llvm-svn: 135708
OpenPOWER on IntegriCloud