summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/value-initialization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change the 'declared at' diagnostic to say 'declared here'.Anders Carlsson2010-04-231-1/+1
| | | | llvm-svn: 102163
* Warn about non-aggregate classes with no user-declared constructorsDouglas Gregor2010-04-151-2/+4
| | | | | | | that have reference or const scalar members, since those members can never be initializer or modified. Fixes <rdar://problem/7804350>. llvm-svn: 101316
* 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
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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 additional note to mark the cause of synthesized constructors. MarkEli Friedman2009-11-091-1/+1
| | | | | | | declaration invalid if the constructor can't be properly built. Addresses remaining review comments from Fariborz for r86500. llvm-svn: 86579
* Unify the codepaths used to verify base and member initializers for explicitlyEli Friedman2009-11-091-2/+2
| | | | | | | | | | | | | | | | and implicitly defined constructors. This has a number of benefits: 1. Less code. 2. Explicit and implicit constructors get the same diagnostics. 3. The AST explicitly contains constructor calls from implicit default constructors. This allows handing some cases that previously weren't handled correctly in IRGen without any additional code. Specifically, implicit default constructors containing calls to constructors with default arguments are now handled correctly. llvm-svn: 86500
* Remove previous patch for pr5296 due to further clarificationFariborz Jahanian2009-11-031-16/+3
| | | | | | of value-initialization and trivial constructors. llvm-svn: 85935
* Generate constructor for value-initialization cases, even if the Fariborz Jahanian2009-10-271-0/+23
implementation technique doesn't call the constructor at that point. DR302. Fixes pr5296. llvm-svn: 85249
OpenPOWER on IntegriCloud