clang API Documentation

Classes | Namespaces | 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/AttributeList.h"
#include "clang/Sema/Ownership.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
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::TypeInfoCommon
struct  clang::DeclaratorChunk::PointerTypeInfo
struct  clang::DeclaratorChunk::ReferenceTypeInfo
struct  clang::DeclaratorChunk::ArrayTypeInfo
struct  clang::DeclaratorChunk::ParamInfo
struct  clang::DeclaratorChunk::TypeAndRange
struct  clang::DeclaratorChunk::FunctionTypeInfo
struct  clang::DeclaratorChunk::BlockPointerTypeInfo
struct  clang::DeclaratorChunk::MemberPointerTypeInfo
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

namespace  clang

Typedefs

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

Enumerations

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...

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.