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.
2037 /// Return true if the context permits a C++17 decomposition declarator.
2055 // These contexts don't allow any kind of non-abstract declarator.
2077 /// mayBeFollowedByCXXDirectInit - Return true if the declarator can be
2135 /// hasName - Whether this declarator has a name, which might be an
2144 /// Return whether this declarator is a decomposition declarator.
2157 /// \brief Set the name of this declarator to be the given identifier.
2162 /// Set the decomposition bindings for this declarator.
2168 /// AddTypeInfo - Add a chunk to this declarator. Also extend the range to
2181 /// \brief Add a new innermost chunk to this declarator.
2186 /// \brief Return the number of types applied to this declarator.
2189 /// Return the specified TypeInfo from this declarator. TypeInfo #0 is
2214 /// Return the innermost (closest to the declarator) chunk of this
2215 /// declarator that is not a parens chunk, or null if there are no
2225 /// Return the outermost (furthest from the declarator) chunk of
2226 /// this declarator that is not a parens chunk, or null if there are
2236 /// isArrayOfUnknownBound - This method returns true if the declarator
2237 /// is a declarator for an array of unknown bound (looking through
2245 /// isFunctionDeclarator - This method returns true if the declarator
2246 /// is a function declarator (looking through parentheses).
2270 /// isFunctionDeclarator - Once this declarator is fully parsed and formed,
2271 declarator
2281 assert(isFunctionDeclarator() && "Not a function declarator!");
2290 return const_cast<Declarator*>(this)->getFunctionTypeInfo();
2296 /// A declaration can declare a function even if the declarator itself
2297 /// isn't a function declarator, if the type specifier refers to a function
2302 /// function declarator would be a function declaration.
2339 /// \brief Return true if a function declarator at this position would be a
2353 /// level) within this declarator.
2363 /// set and add them to this declarator.
2370 /// Also extends the range of the declarator.
2393 /// with the declarator.
2449 /// declarator outside of a MemberContext because we won't know until
2463 Declarator D;
2466 : D(DS, Declarator::MemberContext), BitfieldSize(nullptr) { }