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

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h24 class AttributedType;
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp102 const auto *AttrType = Type->getAs<AttributedType>();
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp119 } else if (const auto *AT = dyn_cast<AttributedType>(T)) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr()))
H A DTransforms.cpp361 if (const AttributedType *AttrT = T->getAs<AttributedType>()) {
H A DTransProperties.cpp321 if (isa<AttributedType>(I->IvarD->getType()))
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DType.cpp464 template <> const AttributedType *Type::getAs() const {
465 return getAsSugar<AttributedType>(this);
1069 QualType VisitAttributedType(const AttributedType *T) {
1357 QualType VisitAttributedType(const AttributedType *attrType) {
1362 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr());
1709 while (const auto *AT = Cur->getAs<AttributedType>()) {
1789 Type *VisitAttributedType(const AttributedType *T) {
3206 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType();
3326 bool AttributedType::isQualifier() const {
3349 bool AttributedType
[all...]
H A DASTDiagnostic.cpp56 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
79 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) {
81 AttributedType::getNullabilityAttrKind(*nullability), RT, RT);
91 AttributedType::stripOuterNullability(SugarPT)) {
93 AttributedType::getNullabilityAttrKind(*nullability), PT, PT);
H A DASTStructuralEquivalence.cpp676 cast<AttributedType>(T1)->getModifiedType(),
677 cast<AttributedType>(T2)->getModifiedType()))
680 Context, cast<AttributedType>(T1)->getEquivalentType(),
681 cast<AttributedType>(T2)->getEquivalentType()))
H A DDeclPrinter.cpp1215 if (auto nullability = AttributedType::stripOuterNullability(T))
1531 if (auto nullability = AttributedType::stripOuterNullability(T)) {
H A DODRHash.cpp820 void VisitAttributedType(const AttributedType *T) {
H A DASTContext.cpp2297 cast<AttributedType>(T)->getEquivalentType().getTypePtr());
2995 if (const auto *AT = dyn_cast<AttributedType>(Orig))
4199 AttributedType::Profile(id, attrKind, modifiedType, equivalentType);
4202 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos);
4207 AttributedType(canon, attrKind, modifiedType, equivalentType);
5813 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result);
8131 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) {
H A DTypePrinter.cpp269 const auto *AttrTy = cast<AttributedType>(T);
852 // while traversing the AttributedType. If the type has been desugared, let
1408 void TypePrinter::printAttributedBefore(const AttributedType *T,
1450 void TypePrinter::printAttributedAfter(const AttributedType *T,
1506 // AttributedType nodes for them.
1528 // FIXME: When Sema learns to form this AttributedType, avoid printing the
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp544 AttributedType::getNullabilityAttrKind(
598 AttributedType::getNullabilityAttrKind(*Nullability), BoxedType,
1315 if (auto nullability = AttributedType::stripOuterNullability(T)) {
1318 AttributedType::getNullabilityAttrKind(*nullability),
1355 (void)AttributedType::stripOuterNullability(type);
1359 AttributedType::getNullabilityAttrKind(*nullability),
1423 AttributedType::stripOuterNullability(T);
1434 AttributedType::getNullabilityAttrKind(*Nullability),
1478 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) {
1490 AttributedType
[all...]
H A DSemaType.cpp183 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>;
259 AttrsForTypes.push_back({cast<AttributedType>(T.getTypePtr()), A});
269 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) {
271 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr());
282 const Attr *takeAttrForAttributedType(const AttributedType *AT) {
301 llvm_unreachable("no Attr* for AttributedType*");
5484 // so that we don't make an AttributedType for it).
6202 // Otherwise, we make an AttributedType with the modified and equivalent
6374 // AttributedType instead.
6533 } else if (isa<AttributedType>(T
[all...]
H A DSemaObjCProperty.cpp2460 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) {
2539 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){
H A DSemaDeclObjC.cpp4492 AttributedType::getNullabilityAttrKind(*prevNullability),
4611 (void)AttributedType::stripOuterNullability(bareResultType);
H A DSemaDecl.cpp2996 AttributedType::getNullabilityAttrKind(*Oldnullability),
3044 const AttributedType *Sema::getCallingConvAttributedType(QualType T) const {
3045 const AttributedType *AT = T->getAs<AttributedType>();
3047 AT = AT->getModifiedType()->getAs<AttributedType>();
3293 // AttributedType sugar nodes on the type as written. If they are missing or
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h135 AttributedType, member in class:clang::CodeGen::AlignmentSource
H A DCodeGenFunction.cpp174 *BaseInfo = LValueBaseInfo(AlignmentSource::AttributedType);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h341 void VisitAttributedType(const AttributedType *T) {
H A DType.h1671 friend class AttributedType;
1675 /// An AttributedType::Kind
2447 /// This will check for an AttributedType by removing any existing sugar
2448 /// until it reaches an AttributedType or a non-sugared type.
2449 template <> const AttributedType *Type::getAs() const;
4279 assert(isa<AttributedType>(UnderlyingTy) &&
4550 class AttributedType : public Type, public llvm::FoldingSetNode {
4560 AttributedType(QualType canon, attr::Kind attrKind, QualType modified,
4624 /// AttributedType specifying nullability (without looking through
7034 if (const auto *A = dyn_cast<AttributedType>(T
[all...]
H A DTypeLoc.h853 AttributedType,
H A DRecursiveASTVisitor.h1072 DEF_TRAVERSE_TYPE(AttributedType,
1334 DEF_TRAVERSE_TYPELOC(AttributedType,
H A DASTContext.h219 llvm::FoldingSet<AttributedType> AttributedTypes;

Completed in 400 milliseconds

12