llvm-project/clang/lib/AST
Douglas Gregor 8e1cf608dc Implement initialization of a reference (C++ [dcl.init.ref]) as part
of copy initialization. Other pieces of the puzzle:

  - Try/Perform-ImplicitConversion now handles implicit conversions
    that don't involve references.
  - Try/Perform-CopyInitialization uses
    CheckSingleAssignmentConstraints for C. PerformCopyInitialization
    is now used for all argument passing and returning values from a
    function.
  - Diagnose errors with declaring references and const values without
    an initializer. (Uses a new Action callback, ActOnUninitializedDecl).
  
We do not yet have implicit conversion sequences for reference
binding, which means that we don't have any overloading support for
reference parameters yet.

llvm-svn: 58353
2008-10-29 00:13:59 +00:00
..
ASTConsumer.cpp Remove unused ASTConsumer::HandleTopLevelDeclaration 2008-07-25 22:39:30 +00:00
ASTContext.cpp Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call. 2008-10-26 16:43:14 +00:00
Builtins.cpp Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call. 2008-10-26 16:43:14 +00:00
CFG.cpp Migrate DeclStmt over to using a DeclGroup instead of a pointer to a ScopedDecl*. 2008-10-07 23:09:49 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Decl.cpp Simplify handling of struct/union/class tags. 2008-10-15 00:42:39 +00:00
DeclBase.cpp Preliminary support for function overloading 2008-10-21 16:13:35 +00:00
DeclCXX.cpp Add a quote from the standard about the type of 'this'. 2008-10-24 22:28:18 +00:00
DeclGroup.cpp Fix incorrect release of Decl* array referenced by DeclGroup. 2008-10-18 19:20:54 +00:00
DeclObjC.cpp Fix "possibly uninitialized" warning. 2008-08-27 05:13:46 +00:00
DeclSerialization.cpp Preliminary support for function overloading 2008-10-21 16:13:35 +00:00
Expr.cpp Implement initialization of a reference (C++ [dcl.init.ref]) as part 2008-10-29 00:13:59 +00:00
ExprCXX.cpp Refactor the expression class hierarchy for casts. Most importantly: 2008-10-27 19:41:14 +00:00
ExprConstant.cpp PR2919: __builtin_types_compatible_p strips CRV qualifiers. 2008-10-24 08:07:57 +00:00
InheritViz.cpp Move viewInheritance to CXXRecordDecl, and make sure it builds in Release mode, too 2008-10-24 19:53:54 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
ParentMap.cpp More #include cleaning 2008-08-11 06:23:49 +00:00
Stmt.cpp - Move ExprIterator to Stmt.h so that it can be used by classes defined in Stmt.h 2008-10-27 18:40:21 +00:00
StmtDumper.cpp Refactor the expression class hierarchy for casts. Most importantly: 2008-10-27 19:41:14 +00:00
StmtIterator.cpp A little more tweaking with StmtIterator and SizeOfAlignofExpr. A recent commit actually introduced a regression, not fixed a bug. 2008-10-07 23:35:42 +00:00
StmtPrinter.cpp Rename ExplicitCCastExpr to CStyleCastExpr 2008-10-28 15:36:24 +00:00
StmtSerialization.cpp Rename ExplicitCCastExpr to CStyleCastExpr 2008-10-28 15:36:24 +00:00
StmtViz.cpp Migrate DeclStmt over to using a DeclGroup instead of a pointer to a ScopedDecl*. 2008-10-07 23:09:49 +00:00
TranslationUnit.cpp When destroying a translation unit, deallocate its owned declarations in reverse order, because there may be dependencies among the declarations. 2008-10-27 12:50:38 +00:00
Type.cpp -Add support for cv-qualifiers after function declarators. 2008-10-24 21:46:40 +00:00
TypeSerialization.cpp Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call. 2008-10-26 16:43:14 +00:00