Home | History | Annotate | Download | only in Sema

Lines Matching refs:AttributeList

1 //===--- AttributeList.cpp --------------------------------------*- C++ -*-===//
10 // This file defines the AttributeList class implementation
14 #include "clang/Sema/AttributeList.h"
33 size_t AttributeList::allocated_size() const {
39 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion));
49 assert(size >= sizeof(AttributeList));
51 return ((size - sizeof(AttributeList)) / sizeof(void*));
58 if (AttributeList *attr = FreeLists[index]) {
68 void AttributeFactory::reclaimPool(AttributeList *cur) {
73 AttributeList *next = cur->NextInPool;
90 void AttributePool::takePool(AttributeList *pool) {
102 AttributeList *next = pool->NextInPool;
111 AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name,
137 unsigned AttributeList::getAttributeSpellingListIndex() const {
155 bool (*DiagAppertainsToDecl)(Sema &S, const AttributeList &Attr,
157 bool (*DiagLangOpts)(Sema &S, const AttributeList &Attr);
159 unsigned (*SpellingIndexToSemanticSpelling)(const AttributeList &Attr);
166 static const ParsedAttrInfo &getInfo(const AttributeList &A) {
170 unsigned AttributeList::getMinArgs() const {
174 unsigned AttributeList::getMaxArgs() const {
178 bool AttributeList::hasCustomParsing() const {
182 bool AttributeList::diagnoseAppertainsTo(Sema &S, const Decl *D) const {
186 bool AttributeList::diagnoseLangOpts(Sema &S) const {
190 bool AttributeList::isTargetSpecificAttr() const {
194 bool AttributeList::isTypeAttr() const {
198 bool AttributeList::existsInTarget(const llvm::Triple &T) const {
202 bool AttributeList::isKnownToGCC() const {
206 unsigned AttributeList::getSemanticSpelling() const {