Home | History | Annotate | Download | only in Sema

Lines Matching defs:Declarator

48   class Declarator;
770 /// \brief Checks if this DeclSpec can stand alone, without a Declarator.
1130 /// declarator that is parsed.
1205 /// declarator is parsed. There are two interesting styles of parameters
1278 /// declarator.
1306 /// \brief The location of the 'mutable' qualifer in a lambda-declarator, if
1317 /// describe the parameters specified by this function declarator. null if
1435 /// \brief Determine whether this lambda-declarator contains a 'mutable'
1457 /// \brief Determine whether this function declarator had a
1461 /// \brief Get the trailing-return-type for this function declarator.
1581 /// "TheDeclarator" is the declarator that this will be added to.
1605 Declarator &TheDeclarator,
1660 /// A parsed C++17 decomposition declarator of the form
1678 friend class Declarator;
1721 /// \brief Information about one declarator, including the parsed type
1724 /// When the declarator is fully formed, this is turned into the appropriate
1733 class Declarator {
1741 TypeNameContext, // Abstract declarator for types.
1752 BlockLiteralContext, // Block literal declarator.
1753 LambdaExprContext, // Lambda-expression declarator.
1754 LambdaExprParameterContext, // Lambda-expression parameter declarator.
1768 /// \brief Where we are parsing this declarator.
1774 /// DeclTypeInfo - This holds each type that the declarator includes as it is
1786 /// FunctionDefinition - Is this Declarator for a function or member
1792 /// \brief Is this Declarator a redeclaration?
1818 /// function chunk in the declarator.
1825 /// \brief If this is the second or subsequent declarator in this declaration,
1826 /// the location of the comma before this declarator.
1830 /// this declarator as a parameter pack.
1836 Declarator(const DeclSpec &ds, TheContext C)
1844 ~Declarator() {
1847 /// getDeclSpec - Return the declaration-specifier that this declarator was
1863 /// nested-name-specifier) that is part of the declarator-id.
1867 /// \brief Retrieve the name specified by this declarator.
1883 /// \brief Get the source range that spans this declarator.
1900 /// ExtendWithDeclSpec - Extend the declarator source range to include the
1911 /// \brief Reset the contents of this Declarator.
2002 /// Return true if the context permits a C++17 decomposition declarator.
2020 // These contexts don't allow any kind of non-abstract declarator.
2042 /// mayBeFollowedByCXXDirectInit - Return true if the declarator can be
2100 /// hasName - Whether this declarator has a name, which might be an
2109 /// Return whether this declarator is a decomposition declarator.
2122 /// \brief Set the name of this declarator to be the given identifier.
2127 /// Set the decomposition bindings for this declarator.
2133 /// AddTypeInfo - Add a chunk to this declarator. Also extend the range to
2146 /// \brief Add a new innermost chunk to this declarator.
2151 /// \brief Return the number of types applied to this declarator.
2154 /// Return the specified TypeInfo from this declarator. TypeInfo #0 is
2179 /// Return the innermost (closest to the declarator) chunk of this
2180 /// declarator that is not a parens chunk, or null if there are no
2190 /// Return the outermost (furthest from the declarator) chunk of
2191 /// this declarator that is not a parens chunk, or null if there are
2201 /// isArrayOfUnknownBound - This method returns true if the declarator
2202 /// is a declarator for an array of unknown bound (looking through
2210 /// isFunctionDeclarator - This method returns true if the declarator
2211 /// is a function declarator (looking through parentheses).
2235 /// isFunctionDeclarator - Once this declarator is fully parsed and formed,
2236 /// this method returns true if the identifier is a function declarator
2246 assert(isFunctionDeclarator() && "Not a function declarator!");
2255 return const_cast<Declarator*>(this)->getFunctionTypeInfo();
2261 declarator itself
2262 /// isn't a function declarator, if the type specifier refers to a function
2267 /// function declarator would be a function declaration.
2304 /// \brief Return true if a function declarator at this position would be a
2318 /// level) within this declarator.
2328 /// set and add them to this declarator.
2335 /// Also extends the range of the declarator.
2358 /// with the declarator.
2414 /// declarator outside of a MemberContext because we won't know until
2428 Declarator D;
2431 : D(DS, Declarator::MemberContext), BitfieldSize(nullptr) { }