Searched refs:AttributedType (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DTypePrinter.cpp641 // while traversing the AttributedType. If the type has been desugared, let
1095 void TypePrinter::printAttributedBefore(const AttributedType *T,
1098 if (T->getAttrKind() == AttributedType::attr_objc_gc ||
1099 T->getAttrKind() == AttributedType::attr_objc_ownership)
1107 case AttributedType::attr_ptr32: OS << " __ptr32"; break;
1108 case AttributedType::attr_ptr64: OS << " __ptr64"; break;
1109 case AttributedType::attr_sptr: OS << " __sptr"; break;
1110 case AttributedType::attr_uptr: OS << " __uptr"; break;
1116 void TypePrinter::printAttributedAfter(const AttributedType *T,
1119 if (T->getAttrKind() == AttributedType
[all...]
H A DType.cpp341 template <> const AttributedType *Type::getAs() const {
342 return getAsSugar<AttributedType>(this);
593 AutoType *VisitAttributedType(const AttributedType *T) {
1851 bool AttributedType::isMSTypeSpec() const {
1863 bool AttributedType::isCallingConv() const {
H A DASTDiagnostic.cpp50 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
H A DASTImporter.cpp592 cast<AttributedType>(T1)->getModifiedType(),
593 cast<AttributedType>(T2)->getModifiedType()))
596 cast<AttributedType>(T1)->getEquivalentType(),
597 cast<AttributedType>(T2)->getEquivalentType()))
H A DASTContext.cpp1698 cast<AttributedType>(T)->getEquivalentType().getTypePtr());
2992 QualType ASTContext::getAttributedType(AttributedType::Kind attrKind,
2996 AttributedType::Profile(id, attrKind, modifiedType, equivalentType);
2999 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos);
3004 AttributedType(canon, attrKind, modifiedType, equivalentType);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp3337 // so that we don't make an AttributedType for it).
3415 /// Map an AttributedType::Kind to an AttributeList::Kind.
3416 static AttributeList::Kind getAttrListKind(AttributedType::Kind kind) {
3418 case AttributedType::attr_address_space:
3420 case AttributedType::attr_regparm:
3422 case AttributedType::attr_vector_size:
3424 case AttributedType::attr_neon_vector_type:
3426 case AttributedType::attr_neon_polyvector_type:
3428 case AttributedType::attr_objc_gc:
3430 case AttributedType
[all...]
H A DSemaExprObjC.cpp3299 else if (const AttributedType *AT = dyn_cast<AttributedType>(DT))
H A DSemaDecl.cpp2269 const AttributedType *Sema::getCallingConvAttributedType(QualType T) const {
2270 const AttributedType *AT = T->getAs<AttributedType>();
2272 AT = AT->getModifiedType()->getAs<AttributedType>();
2377 // AttributedType sugar nodes on the type as written. If they are missing or
H A DTreeTransform.h5040 const AttributedType *oldType = TL.getTypePtr();
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp107 if (isa<AttributedType>(ty.getTypePtr()))
H A DTransforms.cpp371 if (const AttributedType *AttrT = T->getAs<AttributedType>()) {
372 if (AttrT->getAttrKind() == AttributedType::attr_objc_ownership)
H A DTransGCAttrs.cpp84 if (TL.getAttrKind() != AttributedType::attr_objc_ownership)
H A DTransProperties.cpp345 if (isa<AttributedType>(I->IvarD->getType()))
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h693 AttributedType,
696 AttributedType::Kind getAttrKind() const {
701 return (getAttrKind() >= AttributedType::FirstExprOperandKind &&
702 getAttrKind() <= AttributedType::LastExprOperandKind);
706 return (getAttrKind() >= AttributedType::FirstEnumOperandKind &&
707 getAttrKind() <= AttributedType::LastEnumOperandKind);
H A DASTContext.h120 llvm::FoldingSet<AttributedType> AttributedTypes;
1068 QualType getAttributedType(AttributedType::Kind attrKind,
H A DRecursiveASTVisitor.h971 DEF_TRAVERSE_TYPE(AttributedType, {
1206 DEF_TRAVERSE_TYPELOC(AttributedType, {
H A DType.h1323 friend class AttributedType;
1327 /// AttrKind - an AttributedType::Kind
1815 /// \brief This will check for an AttributedType by removing any existing sugar
1816 /// until it reaches an AttributedType or a non-sugared type.
1817 template <> const AttributedType *Type::getAs() const;
3351 /// AttributedType - An attributed type is a type to which a type
3363 class AttributedType : public Type, public llvm::FoldingSetNode { class in class:clang::FunctionType::ExtInfo::FunctionProtoType
3410 AttributedType(QualType canon, Kind attrKind, function in class:clang::FunctionType::ExtInfo::FunctionProtoType::AttributedType
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1928 T = cast<AttributedType>(T)->getEquivalentType();
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp4778 AttributedType::Kind kind = static_cast<AttributedType::Kind>(Record[2]);
H A DASTWriter.cpp276 void ASTTypeWriter::VisitAttributedType(const AttributedType *T) {
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h2573 /// Get the outermost AttributedType node that sets a calling convention.
2575 const AttributedType *getCallingConvAttributedType(QualType T) const;

Completed in 597 milliseconds