summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/copy-initialization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Provide a proper source location when building an implicit dereference. ↵Douglas Gregor2009-02-191-1/+7
| | | | | | Fixes PR3600 llvm-svn: 64993
* Correct the order in which we cope with end-of-class-definitionDouglas Gregor2008-12-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | semantics and improve our handling of default arguments. Specifically, we follow this order: - As soon as the see the '}' in the class definition, the class is complete and we add any implicit declarations (default constructor, copy constructor, etc.) to the class. - If there are any default function arguments, parse them - If there were any inline member function definitions, parse them As part of this change, we now keep track of the the fact that we've seen unparsed default function arguments within the AST. See the new ParmVarDecl::hasUnparsedDefaultArg member. This allows us to properly cope with calls inside default function arguments to other functions where we're making use of the default arguments. Made some C++ error messages regarding failed initializations more specific. llvm-svn: 61406
* Implement a %plural modifier for complex plural forms in diagnostics. Use it ↵Sebastian Redl2008-11-221-1/+1
| | | | | | in the overload diagnostics. llvm-svn: 59871
* Implement C++ copy-initialization for declarations. There is now someDouglas Gregor2008-11-051-0/+17
duplication in the handling of copy-initialization by constructor, which occurs both for initialization of a declaration and for overloading. The initialization code is due for some refactoring. llvm-svn: 58756
OpenPOWER on IntegriCloud