Home | History | Annotate | Download | only in Sema

Lines Matching refs:Declarator

48   class Declarator;
688 /// without a Declarator. Only tag declspecs can stand alone.
988 /// declarator that is parsed.
1050 /// declarator is parsed. There are two interesting styles of arguments here:
1109 /// declarator.
1131 /// \brief The location of the 'mutable' qualifer in a lambda-declarator, if
1140 /// describe the arguments for this function declarator. This is null if
1221 /// \brief Determine whether this lambda-declarator contains a 'mutable'
1340 /// "TheDeclarator" is the declarator that this will be added to.
1359 Declarator &TheDeclarator,
1410 /// Declarator - Information about one declarator, including the parsed type
1411 /// information and the identifier. When the declarator is fully formed, this
1420 class Declarator {
1428 TypeNameContext, // Abstract declarator for types.
1437 BlockLiteralContext, // Block literal declarator.
1438 LambdaExprContext, // Lambda-expression declarator.
1451 /// Context - Where we are parsing this declarator.
1455 /// DeclTypeInfo - This holds each type that the declarator includes as it is
1467 /// FunctionDefinition - Is this Declarator for a function or member
1473 // Redeclaration - Is this Declarator is a redeclaration.
1484 /// function chunk in the declarator.
1491 /// \brief If this is the second or subsequent declarator in this declaration,
1492 /// the location of the comma before this declarator.
1496 /// this declarator as a parameter pack.
1502 Declarator(const DeclSpec &ds, TheContext C)
1511 ~Declarator() {
1515 /// getDeclSpec - Return the declaration-specifier that this declarator was
1531 /// nested-name-specifier) that is part of the declarator-id.
1535 /// \brief Retrieve the name specified by this declarator.
1546 /// getSourceRange - Get the source range that spans this declarator.
1563 /// ExtendWithDeclSpec - Extend the declarator source range to include the
1574 /// clear - Reset the contents of this Declarator.
1654 /// mayBeFollowedByCXXDirectInit - Return true if the declarator can be
1707 /// hasName - Whether this declarator has a name, which might be an
1722 /// \brief Set the name of this declarator to be the given identifier.
1727 /// AddTypeInfo - Add a chunk to this declarator. Also extend the range to
1740 /// AddInnermostTypeInfo - Add a new innermost chunk to this declarator.
1746 /// declarator.
1749 /// Return the specified TypeInfo from this declarator. TypeInfo #0 is
1767 /// isArrayOfUnknownBound - This method returns true if the declarator
1768 /// is a declarator for an array of unknown bound (looking through
1789 /// isFunctionDeclarator - This method returns true if the declarator
1790 /// is a function declarator (looking through parentheses).
1813 /// isFunctionDeclarator - Once this declarator is fully parsed and formed,
1814 /// this method returns true if the identifier is a function declarator
1824 assert(isFunctionDeclarator() && "Not a function declarator!");
1833 return const_cast<Declarator*>(this)->getFunctionTypeInfo();
1839 /// A declaration can declare a function even if the declarator itself
1840 /// isn't a function declarator, if the type specifier refers to a function
1845 /// set and add them to this declarator.
1852 /// Also extends the range of the declarator.
1915 Declarator D;
1917 explicit FieldDeclarator(DeclSpec &DS) : D(DS, Declarator::MemberContext) {