summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr
Commit message (Collapse)AuthorAgeFilesLines
...
* Progress.John McCall2010-10-121-1/+1
| | | | llvm-svn: 116287
* Check that an overloaded function name, when used by the ! operator,Douglas Gregor2010-09-201-0/+36
| | | | | | | actually resolves to a particular function. Fixes PR8181, from Faisal Vali! llvm-svn: 114331
* Test destructors in delete expressions and of temporaries for throwing.Sebastian Redl2010-09-101-1/+11
| | | | llvm-svn: 113664
* Address Doug's comments.Sebastian Redl2010-09-102-2/+4
| | | | llvm-svn: 113650
* Eli helped me understand how evaluation contexts work.Sebastian Redl2010-09-101-2/+13
| | | | llvm-svn: 113642
* Test CXXNoexceptExpr codegen and serialization.Sebastian Redl2010-09-102-0/+23
| | | | llvm-svn: 113630
* Add another small test case.Sebastian Redl2010-09-101-0/+1
| | | | llvm-svn: 113628
* Tests for noexcept in templates.Sebastian Redl2010-09-101-0/+31
| | | | llvm-svn: 113625
* First version of a testcase, plus fixes.Sebastian Redl2010-09-101-0/+128
| | | | llvm-svn: 113624
* Catch the case of trying to turn '&(X::a)' into a member pointer as well.John McCall2010-08-241-0/+45
| | | | llvm-svn: 111997
* Test case for my last fix.Sebastian Redl2010-05-071-0/+15
| | | | llvm-svn: 103252
* Restore r101841 without modification. Also mark 'operator delete' as used forJohn McCall2010-04-203-3/+3
| | | | | | actual delete expressions, not just new expressions. llvm-svn: 101861
* Revert r101841 and follow-up.John McCall2010-04-203-3/+3
| | | | llvm-svn: 101859
* Don't bother looking for (or diagnosing problems with) the 'operator delete'John McCall2010-04-203-3/+3
| | | | | | associated with a new expression if -fno-exceptions is set. llvm-svn: 101841
* Turn access control on by default in -cc1.John McCall2010-04-091-1/+1
| | | | | | | | Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
* Implement semantic analysis for C++ [expr.new]p18-20, which describeDouglas Gregor2010-02-263-0/+200
| | | | | | | | | | how we find the operator delete that matches withe operator new we found in a C++ new-expression. This will also need CodeGen support. On a happy note, we're now a "nans" away from building tramp3d-v4. llvm-svn: 97209
* Migrate the mish-mash of declaration checks inDouglas Gregor2010-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sema::ActOnUninitializedDecl over to InitializationSequence (with default initialization), eliminating redundancy. More importantly, we now check that a const definition in C++ has an initilizer, which was an #if 0'd code for many, many months. A few other tweaks were needed to get everything working again: - Fix all of the places in the testsuite where we defined const objects without initializers (now that we diagnose this issue) - Teach instantiation of static data members to find the previous declaration, so that we build proper redeclaration chains. Previously, we had the redeclaration chain but built it too late to be useful, because... - Teach instantiation of static data member definitions not to try to check an initializer if a previous declaration already had an initializer. This makes sure that we don't complain about static const data members with in-class initializers and out-of-line definitions. - Move all of the incomplete-type checking logic out of Sema::FinalizeDeclaratorGroup; it makes more sense in ActOnUnitializedDecl. There may still be a few places where we can improve these diagnostics. I'll address that as a separate commit. llvm-svn: 95657
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-154-4/+4
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Add test for expr.delete p5, with a FIXME.Daniel Dunbar2009-11-131-0/+34
| | | | llvm-svn: 88678
* Tests for C++ [expr], from James Porter!Douglas Gregor2009-10-083-0/+83
llvm-svn: 83588
OpenPOWER on IntegriCloud