clang API Documentation

Classes | Defines | Functions | Variables
Types.cpp File Reference
#include "clang/Driver/Types.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include <cassert>
#include <string.h>
#include "clang/Driver/Types.def"
Include dependency graph for Types.cpp:

Go to the source code of this file.

Classes

struct  TypeInfo

Defines

#define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS)   { NAME, FLAGS, TEMP_SUFFIX, TY_##PP_TYPE, },

Functions

static const TypeInfogetInfo (unsigned id)

Variables

static const TypeInfo TypeInfos []
static const unsigned numTypes = llvm::array_lengthof(TypeInfos)

Define Documentation

#define TYPE (   NAME,
  ID,
  PP_TYPE,
  TEMP_SUFFIX,
  FLAGS 
)    { NAME, FLAGS, TEMP_SUFFIX, TY_##PP_TYPE, },

Function Documentation

static const TypeInfo& getInfo ( unsigned  id) [static]

Variable Documentation

const unsigned numTypes = llvm::array_lengthof(TypeInfos) [static]

Definition at line 32 of file Types.cpp.

Referenced by getInfo(), and clang::driver::types::lookupTypeForTypeSpecifier().

const TypeInfo TypeInfos[] [static]

Definition at line 26 of file Types.cpp.

Referenced by getInfo().