summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.local
Commit message (Collapse)AuthorAgeFilesLines
* Remove the "unsupported" error for lambda expressions. It's annoying,Douglas Gregor2012-02-091-1/+1
| | | | | | and rapidly becoming untrue. llvm-svn: 150165
* Various interrelated cleanups for lambdas:Douglas Gregor2012-02-091-2/+2
| | | | | | | | | | | | | | - Complete the lambda class when we finish the lambda expression (previously, it was left in the "being completed" state) - Actually return the LambdaExpr object and bind to the resulting temporary when needed. - Detect when cleanups are needed while capturing a variable into a lambda (e.g., due to default arguments in the copy constructor), and make sure those cleanups apply for the whole of the lambda expression. llvm-svn: 150123
* Misc improvements to the diagnostic when a variable is odr-used in a context ↵Eli Friedman2012-02-073-2/+20
| | | | | | | | that is not allowed to capture variables. Fixes PR11883. llvm-svn: 149937
* 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
* When pretty-printing tag types, only print the tag if we're in C (andJohn McCall2010-03-101-1/+1
| | | | | | | | | | therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. llvm-svn: 98149
* Improve access control diagnostics. Perform access control on member-pointerJohn McCall2010-02-101-2/+2
| | | | | | | conversions. Fix an access-control bug where privileges were not considered at intermediate points along the inheritance path. Prepare for friends. llvm-svn: 95775
* Initialization improvements: addition of string initialization and a fewEli Friedman2009-12-191-2/+1
| | | | | | | | small bug fixes in SemaInit, switch over SemaDecl to use it more often, and change a bunch of diagnostics which are different with the new initialization code. llvm-svn: 91767
* 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
* Update for LLVM API change.Owen Anderson2009-07-271-1/+1
| | | | llvm-svn: 77249
* Revert this, we have a better way to do this.Mike Stump2009-07-211-4/+1
| | | | llvm-svn: 76687
* Revert this, we have a better way to handle this.Mike Stump2009-07-211-4/+1
| | | | llvm-svn: 76685
* Prep for new warning.Mike Stump2009-07-211-2/+5
| | | | llvm-svn: 76628
* Prep for new warning.Mike Stump2009-07-211-1/+4
| | | | llvm-svn: 76627
* Add test for [class.local]p2.Anders Carlsson2009-06-241-0/+12
| | | | llvm-svn: 74051
* Support for [class.local]p4.Anders Carlsson2009-06-241-0/+10
| | | | llvm-svn: 74030
* [class.local] p1 and p3. Also, add back the xcodeproj file.Anders Carlsson2009-06-242-0/+48
llvm-svn: 74027
OpenPOWER on IntegriCloud