aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/new-delete.cpp
AgeCommit message (Expand)Author
2012-12-13Add missing check for error return from DefaultLvalueConversion. Fixes <rdar...Eli Friedman
2012-04-10Disambiguation of '[[':Richard Smith
2012-03-12Fix parsing of type-specifier-seq's. Types are syntactically allowed to beRichard Smith
2012-02-22Throw away stray CXXDefaultArgExprs. Fixes PR12061.Sebastian Redl
2012-02-17Don't allow non-empty ParenListExprs as array-new initializers.Sebastian Redl
2012-02-16Revert "Revert "Make CXXNewExpr contain only a single initialier, and not hol...Sebastian Redl
2012-02-04In C++11 mode, when an integral constant expression is desired and we have aRichard Smith
2012-02-04Don't allow a value of a scoped enumeration to be used as the first bound for anRichard Smith
2012-02-04Fix a rejects-valid in C++11: array new of a negative size, or overflowing arrayRichard Smith
2011-07-26Re-fix r136172 so it isn't an error; apparently, some people are fond of thei...Eli Friedman
2011-07-26Diagnose trying to delete a pointer to an abstract class with a non-virtual d...Eli Friedman
2011-07-26A couple minor issues with Sema for delete:Eli Friedman
2011-07-13Enforce access control for the destructor in a new[] expression and markJohn McCall
2011-02-01Implement access checking for the "delete" operator. Fixes PR9050,Douglas Gregor
2010-11-03Make this error less specific but also less likely to cause confusion. FixesNick Lewycky
2010-09-14The paired 'operator delete' for a placement 'operator new' is always aJohn McCall
2010-09-05make clang print types as "const int *" instead of "int const*",Chris Lattner
2010-08-27Improve wording of diagnostic complaining about a non-void* pointer as the fi...Douglas Gregor
2010-08-08Fix a crash on template delete operators.Chandler Carruth
2010-08-05Remove a redundant and broken check. Fixes PR7810.Sebastian Redl
2010-07-29When deleting a value of class type, make sure that type is completeDouglas Gregor
2010-07-13Downgrade the "when type is in parentheses, array cannot have dynamicDouglas Gregor
2010-06-30Implement C++ DR299, which allows an implicit conversion from a classDouglas Gregor
2010-06-28Suppress diagnosing access violations while looking up deallocation functionsChandler Carruth
2010-05-24Downgrade deletion of a void* from an error (which is should be) to anDouglas Gregor
2010-05-16Correctly diagnose array 'new' with initialization arguments when the new typ...Anders Carlsson
2010-05-16When the type-id or new-type-id of a C++ "new" expression is a typedefDouglas Gregor
2010-05-03The array form of 'new' can never have initializers.Anders Carlsson
2010-04-09Turn access control on by default in -cc1.John McCall
2010-03-10When pretty-printing tag types, only print the tag if we're in C (andJohn McCall
2010-02-16Do not try to instantiate invalid declarations. It's a recipe forDouglas Gregor
2010-02-08Ensure that a operator delete overload is rocognized regardless of cv-quals.Chandler Carruth
2010-02-03Teach the allocation function overload handling to deal with templates, andChandler Carruth
2010-01-23Fix the EntityKind order so that all entity kinds that can be copied (using c...Anders Carlsson
2009-12-22Allow the first parameter of operator new to be a cv-qualifiedDouglas Gregor
2009-12-16Switch the C++ new expression over to InitializationSequence, ratherDouglas Gregor
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-12-13More improvements to checking allocation and deallocation functions.Anders Carlsson
2009-12-09Look through using declarations when searching for allocation overloads.Anders Carlsson
2009-11-30When we're trying to define an implicit virtual destructor, make sure that we...Anders Carlsson
2009-11-16Fix test on Linux.Eli Friedman
2009-11-15If we find a deallocation function in the class scope, but it is a placement ...Anders Carlsson
2009-11-14Diagnose ambiguity of operator delete and operator delete[]. Sebastian, pleas...Anders Carlsson
2009-11-11Make test more platform independent (per Sebastian's comment).Fariborz Jahanian
2009-11-10Diagnose illegally typed operator new/new[].Fariborz Jahanian
2009-10-25Remove the Skip parameter from GetTypeForDeclarator and dependents. Take the ...Sebastian Redl
2009-09-30Find operators new/delete in base classes. FIXME -= 2;Douglas Gregor
2009-09-29The C++ delete expression strips cv-qualifiers from the pointed-to type. My p...Douglas Gregor
2009-09-29Handle C++ delete expressions when the overloaded delete operator is aDouglas Gregor
2009-09-23Cast the array size expr to a size_tAnders Carlsson