| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 119 const Type *TypePtr, in getFullyQualifiedTemplateType() argument 124 assert(!isa<DependentTemplateSpecializationType>(TypePtr)); in getFullyQualifiedTemplateType() 127 if (const auto *TST = dyn_cast<const TemplateSpecializationType>(TypePtr)) { in getFullyQualifiedTemplateType() 149 } else if (const auto *TSTRecord = dyn_cast<const RecordType>(TypePtr)) { in getFullyQualifiedTemplateType() 183 return TypePtr; in getFullyQualifiedTemplateType() 316 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf() argument 318 if (!TypePtr) return nullptr; in createNestedNameSpecifierForScopeOf() 322 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf() 324 } else if (const auto *TagDeclType = dyn_cast<TagType>(TypePtr)) { in createNestedNameSpecifierForScopeOf() 326 } else if (const auto *TST = dyn_cast<TemplateSpecializationType>(TypePtr)) { in createNestedNameSpecifierForScopeOf() [all …]
|
| H A D | MicrosoftMangle.cpp | 2385 void *TypePtr; in mangleFunctionArgumentType() local 2395 TypePtr = OriginalType.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType() 2404 TypePtr = T.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType() 2407 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in mangleFunctionArgumentType() 2420 FunArgBackReferences[TypePtr] = Size; in mangleFunctionArgumentType() 2433 auto *TypePtr = (const void *)&*Iter; in manglePassObjectSizeArg() local 2434 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in manglePassObjectSizeArg() 2444 FunArgBackReferences[TypePtr] = Size; in manglePassObjectSizeArg()
|
| H A D | ItaniumMangle.cpp | 7037 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in mangleSubstitution() local 7039 return mangleSubstitution(TypePtr); in mangleSubstitution() 7210 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in addSubstitution() local 7211 addSubstitution(TypePtr); in addSubstitution()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Pointer.h | 53 const Type *TypePtr; member 115 Pointer(const Type *TypePtr, const Type *TypeInfoType, uint64_t Offset = 0) 117 PointeeStorage.Typeid.TypePtr = TypePtr; in Offset() 601 return reinterpret_cast<uintptr_t>(asTypeidPointer().TypePtr) + Offset; in getByteOffset()
|
| H A D | Interp.cpp | 1583 Pointer TypePtr = ThisPtr; in CallVirt() local 1584 while (TypePtr.isBaseClass()) in CallVirt() 1585 TypePtr = TypePtr.getBase(); in CallVirt() 1587 QualType DynamicType = TypePtr.getType(); in CallVirt() 1972 bool GetTypeid(InterpState &S, CodePtr OpPC, const Type *TypePtr, in GetTypeid() argument 1974 S.Stk.push<Pointer>(TypePtr, TypeInfoType); in GetTypeid()
|
| H A D | Pointer.cpp | 165 TypeInfoLValue TypeInfo(PointeeStorage.Typeid.TypePtr); in toAPValue() 335 OS << "(Typeid) { " << (const void *)asTypeidPointer().TypePtr << ", " in print() 345 return reinterpret_cast<uintptr_t>(asTypeidPointer().TypePtr) + Offset; in computeOffsetForComparison()
|
| H A D | Interp.h | 3469 bool GetTypeid(InterpState &S, CodePtr OpPC, const Type *TypePtr,
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefMemberChecker.cpp | 115 ObjCInterfaceDecl *getObjCDecl(const Type *TypePtr) const { in getObjCDecl() 116 auto *PointeeType = TypePtr->getPointeeType().getTypePtrOrNull(); in getObjCDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 601 CanQualType TypePtr = S.Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpecImpl() local 602 if (OldTypes.count(TypePtr)) in CheckEquivalentExceptionSpecImpl() 603 NewTypes.insert(TypePtr); in CheckEquivalentExceptionSpecImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2192 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local 2193 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl() 2195 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl() 2196 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl() 2198 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() 3888 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local 3889 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr() 3890 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
|
| H A D | RewriteModernObjC.cpp | 2279 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local 2280 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl() 2282 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl() 2283 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl() 2285 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() 4709 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local 4710 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr() 4711 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 9044 const Type *TypePtr = QT.getTypePtr(); 9046 if (QualType Pointee = TypePtr->getPointeeType(); !Pointee.isNull()) 9047 TypePtr = Pointee.getTypePtr(); 9048 else if (TypePtr->isArrayType()) 9049 TypePtr = TypePtr->getBaseElementTypeUnsafe(); 9053 if (const auto *FPT = TypePtr->getAs<FunctionProtoType>())
|