clang API Documentation

Namespaces | Enumerations | Functions
ASTCommon.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/Serialization/ASTBitCodes.h"
Include dependency graph for ASTCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang::serialization

Enumerations

enum  clang::serialization::DeclUpdateKind {
  clang::serialization::UPD_CXX_ADDED_IMPLICIT_MEMBER, clang::serialization::UPD_CXX_ADDED_TEMPLATE_SPECIALIZATION, clang::serialization::UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, clang::serialization::UPD_CXX_ADDED_FUNCTION_DEFINITION,
  clang::serialization::UPD_CXX_INSTANTIATED_STATIC_DATA_MEMBER, clang::serialization::UPD_CXX_INSTANTIATED_CLASS_DEFINITION, clang::serialization::UPD_CXX_RESOLVED_EXCEPTION_SPEC, clang::serialization::UPD_CXX_DEDUCED_RETURN_TYPE,
  clang::serialization::UPD_DECL_MARKED_USED, clang::serialization::UPD_MANGLING_NUMBER, clang::serialization::UPD_STATIC_LOCAL_NUMBER, clang::serialization::UPD_DECL_MARKED_OPENMP_THREADPRIVATE
}

Functions

TypeIdx clang::serialization::TypeIdxFromBuiltin (const BuiltinType *BT)
template<typename IdxForTypeTy >
TypeID clang::serialization::MakeTypeID (ASTContext &Context, QualType T, IdxForTypeTy IdxForType)
unsigned clang::serialization::ComputeHash (Selector Sel)
const DeclContextclang::serialization::getDefinitiveDeclContext (const DeclContext *DC)
 Retrieve the "definitive" declaration that provides all of the visible entries for the given declaration context, if there is one.
bool clang::serialization::isRedeclarableDeclKind (unsigned Kind)
 Determine whether the given declaration kind is redeclarable.
bool clang::serialization::needsAnonymousDeclarationNumber (const NamedDecl *D)
 Determine whether the given declaration needs an anonymous declaration number.