summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new-overflow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [NFC] Explicitly add -std=c++14 option to tests that rely on the C++14 defaultNemanja Ivanovic2019-02-051-1/+1
| | | | | | | | | | | When Clang/LLVM is built with the CLANG_DEFAULT_STD_CXX CMake macro that sets the default standard to something other than C++14, there are a number of lit tests that fail as they rely on the C++14 default. This patch just adds the language standard option explicitly to such test cases. Differential revision: https://reviews.llvm.org/D57581 llvm-svn: 353163
* Switch to gnu++14 as the default dialect.Tim Northover2017-12-091-12/+4
| | | | | | This is C++14 with conforming GNU extensions. llvm-svn: 320250
* Replace Sema-level implementation of -fassume-sane-operator-new with aRichard Smith2016-04-071-9/+9
| | | | | | | | | | | | | | CodeGen-level implementation. Instead of adding an attribute to clang's FunctionDecl, add the IR attribute directly. This means a module built with this flag is now compatible with code built without it and vice versa. This change also results in the 'noalias' attribute no longer being added to calls to operator new in the IR; it's now only added to the declaration. It also fixes a bug where we failed to add the attribute to the 'nothrow' versions (because we didn't implicitly declare them, there was no good time to inject a fake attribute). llvm-svn: 265728
* Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-271-3/+3
| | | | llvm-svn: 230795
* Convert the standard default-construction loops to use phis andJohn McCall2011-07-131-9/+9
| | | | | | partial destruction. llvm-svn: 135033
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-26/+24
| | | | llvm-svn: 134831
* Two more test cases which have been long uncommitted.John McCall2011-06-241-0/+211
llvm-svn: 133842
OpenPOWER on IntegriCloud