Skip to content
  • Douglas Gregor's avatar
    Add support for parsing and representing C++ constructor declarations. · 61956c46
    Douglas Gregor authored
    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
    61956c46
Loading