summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-new-overaligned.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Issue a warning if a throwing operator new or operator new[] returns a nullRichard Smith2014-01-171-2/+2
| | | | | | | | pointer, since this invokes undefined behavior. Based on a patch by Artyom Skrobov! Handling of dependent exception specifications and some additional testcases by me. llvm-svn: 199452
* Force triple on these tests to pacify the windows tester.Nick Lewycky2012-01-241-1/+1
| | | | llvm-svn: 148858
* Add a new warning, -Wover-aligned, which detects attempts to use the defaultNick Lewycky2012-01-241-0/+73
allocator to construct an object which declares more alignment than the default allocator actually provides. Fixes PR9527! llvm-svn: 148857
OpenPOWER on IntegriCloud