llvm-project/clang/lib/AST
Douglas Gregor 61956c460a Add support for parsing and representing C++ constructor declarations.
Notes:
  - Constructors are never found by name lookup, so they'll never get
    pushed into any scope. Instead, they are stored as an 
    OverloadedFunctionDecl in CXXRecordDecl for easy overloading.
  - There's a new action isCurrentClassName that determines whether an
    identifier is the name of the innermost class currently being defined;
    we use this to identify the declarator-id grammar rule that refers to 
    a type-name. 
  - MinimalAction does *not* support parsing constructors.
  - We now handle virtual and explicit function specifiers.

llvm-svn: 58499
2008-10-31 09:07:45 +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 Fix crash reported in PR2923 where a function declared using typeof(another_function) would have FunctionDecl::getNumParams() return the number of parameters in the original function type and not the number of parameters in the actual FunctionDecl. 2008-10-29 18:41:34 +00:00
DeclBase.cpp Add support for parsing and representing C++ constructor declarations. 2008-10-31 09:07:45 +00:00
DeclCXX.cpp Add support for parsing and representing C++ constructor declarations. 2008-10-31 09:07:45 +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 Fix arithmetic type check 2008-10-30 13:47:07 +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