clang 8.0.0

Classes | Namespaces | Macros | Typedefs | Enumerations
DeclSpec.h File Reference

This file defines the classes used to store parsed information about declaration-specifiers and declarators. More...

`#include "clang/AST/NestedNameSpecifier.h"`
`#include "clang/Basic/ExceptionSpecificationType.h"`
`#include "clang/Basic/Lambda.h"`
`#include "clang/Basic/OperatorKinds.h"`
`#include "clang/Basic/Specifiers.h"`
`#include "clang/Lex/Token.h"`
`#include "clang/Sema/Ownership.h"`
`#include "clang/Sema/ParsedAttr.h"`
`#include "llvm/ADT/SmallVector.h"`
`#include "llvm/Support/Compiler.h"`
`#include "llvm/Support/ErrorHandling.h"`
`#include "clang/Basic/OpenCLImageTypes.def"`
Include dependency graph for DeclSpec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | clang::CXXScopeSpec
| Represents a C++ nested-name-specifier or a global scope specifier. More...
class | clang::DeclSpec
| Captures information about "declaration specifiers". More...
class | clang::ObjCDeclSpec
| Captures information about "declaration specifiers" specific to Objective-C. More...
class | clang::UnqualifiedId
| Represents a C++ unqualified-id that has been parsed. More...
struct | clang::UnqualifiedId::OFI
struct | clang::DeclaratorChunk
| One instance of this struct is used for each type in a declarator that is parsed. More...
struct | clang::DeclaratorChunk::PointerTypeInfo
struct | clang::DeclaratorChunk::ReferenceTypeInfo
struct | clang::DeclaratorChunk::ArrayTypeInfo
struct | clang::DeclaratorChunk::ParamInfo
| ParamInfo - An array of paraminfo objects is allocated whenever a function declarator is parsed. More...
struct | clang::DeclaratorChunk::TypeAndRange
struct | clang::DeclaratorChunk::FunctionTypeInfo
struct | clang::DeclaratorChunk::BlockPointerTypeInfo
struct | clang::DeclaratorChunk::MemberPointerTypeInfo
struct | clang::DeclaratorChunk::PipeTypeInfo
class | clang::DecompositionDeclarator
| A parsed C++17 decomposition declarator of the form '[' identifier-list ']'. More...
struct | clang::DecompositionDeclarator::Binding
class | clang::Declarator
| Information about one declarator, including the parsed type information and the identifier. More...
struct | clang::FieldDeclarator
| This little struct is used to capture information about structure field declarators, which is basically just a bitfield size. More...
class | clang::VirtSpecifiers
| Represents a C++11 virt-specifier-seq. More...
struct | clang::LambdaIntroducer
| Represents a complete lambda introducer. More...
struct | clang::LambdaIntroducer::LambdaCapture
| An individual capture in a lambda introducer. More...

## Namespaces
| clang
| Dataflow Directional Tag Classes.

## Macros
#define | GENERIC_IMAGE_TYPE(ImgType, Id) static const TST TST_##ImgType##_t = clang::TST_##ImgType##_t;

## Typedefs
typedef SmallVector< Token, 4 > | clang::CachedTokens
| A set of tokens that has been cached for later parsing. More...

## Enumerations
enum | clang::UnqualifiedIdKind { clang::UnqualifiedIdKind::IK_Identifier, clang::UnqualifiedIdKind::IK_OperatorFunctionId, clang::UnqualifiedIdKind::IK_ConversionFunctionId, clang::UnqualifiedIdKind::IK_LiteralOperatorId, clang::UnqualifiedIdKind::IK_ConstructorName, clang::UnqualifiedIdKind::IK_ConstructorTemplateId, clang::UnqualifiedIdKind::IK_DestructorName, clang::UnqualifiedIdKind::IK_TemplateId, clang::UnqualifiedIdKind::IK_ImplicitSelfParam, clang::UnqualifiedIdKind::IK_DeductionGuideName }
| Describes the kind of unqualified-id parsed. More...
enum | clang::FunctionDefinitionKind { clang::FDK_Declaration, clang::FDK_Definition, clang::FDK_Defaulted, clang::FDK_Deleted }
| Described the kind of function definition (if any) provided for a function. More...
enum | clang::DeclaratorContext { clang::DeclaratorContext::FileContext, clang::DeclaratorContext::PrototypeContext, clang::DeclaratorContext::ObjCResultContext, clang::DeclaratorContext::ObjCParameterContext, clang::DeclaratorContext::KNRTypeListContext, clang::DeclaratorContext::TypeNameContext, clang::DeclaratorContext::FunctionalCastContext, clang::DeclaratorContext::MemberContext, clang::DeclaratorContext::BlockContext, clang::DeclaratorContext::ForContext, clang::DeclaratorContext::InitStmtContext, clang::DeclaratorContext::ConditionContext, clang::DeclaratorContext::TemplateParamContext, clang::DeclaratorContext::CXXNewContext, clang::DeclaratorContext::CXXCatchContext, clang::DeclaratorContext::ObjCCatchContext, clang::DeclaratorContext::BlockLiteralContext, clang::DeclaratorContext::LambdaExprContext, clang::DeclaratorContext::LambdaExprParameterContext, clang::DeclaratorContext::ConversionIdContext, clang::DeclaratorContext::TrailingReturnContext, clang::DeclaratorContext::TrailingReturnVarContext, clang::DeclaratorContext::TemplateArgContext, clang::DeclaratorContext::TemplateTypeArgContext, clang::DeclaratorContext::AliasDeclContext, clang::DeclaratorContext::AliasTemplateContext }
enum | clang::LambdaCaptureInitKind { clang::LambdaCaptureInitKind::NoInit, clang::LambdaCaptureInitKind::CopyInit, clang::LambdaCaptureInitKind::DirectInit, clang::LambdaCaptureInitKind::ListInit }

## Detailed Description

This file defines the classes used to store parsed information about declaration-specifiers and declarators.

    ///   static const int volatile x, *y, *(*(*z)[10])(const void *x);
    ///   ------------------------- -  --  ---------------------------
    ///     declaration-specifiers  \  |   /
    ///                            declarators
    ///

Definition in file DeclSpec.h.

## Macro Definition Documentation

## ◆ GENERIC_IMAGE_TYPE

#define GENERIC_IMAGE_TYPE | ( |  | ImgType,
|  |  | Id
| ) |  | static const TST TST_##ImgType##_t = clang::TST_##ImgType##_t;

Definition at line 307 of file DeclSpec.h.