Home
last modified time | relevance | path

Searched refs:TypePtr (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DQualTypeNames.cpp187 return TypePtr; in getFullyQualifiedTemplateType()
321 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf() argument
323 if (!TypePtr) return nullptr; in createNestedNameSpecifierForScopeOf()
334 Decl = TypePtr->getAsCXXRecordDecl(); in createNestedNameSpecifierForScopeOf()
363 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier() local
364 if (isa<const TemplateSpecializationType>(TypePtr) || in createNestedNameSpecifier()
365 isa<const RecordType>(TypePtr)) { in createNestedNameSpecifier()
370 TypePtr = getFullyQualifiedTemplateType(Ctx, TypePtr, WithGlobalNsPrefix); in createNestedNameSpecifier()
375 false /*No TemplateKeyword*/, TypePtr); in createNestedNameSpecifier()
471 const Type *TypePtr = getFullyQualifiedTemplateType( in getFullyQualifiedType() local
[all …]
H A DMicrosoftMangle.cpp2098 void *TypePtr; in mangleFunctionArgumentType() local
2108 TypePtr = OriginalType.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
2117 TypePtr = T.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
2120 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in mangleFunctionArgumentType()
2133 FunArgBackReferences[TypePtr] = Size; in mangleFunctionArgumentType()
2146 auto *TypePtr = (const void *)&*Iter; in manglePassObjectSizeArg() local
2147 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in manglePassObjectSizeArg()
2156 FunArgBackReferences[TypePtr] = Size; in manglePassObjectSizeArg()
H A DItaniumMangle.cpp6056 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in mangleSubstitution() local
6058 return mangleSubstitution(TypePtr); in mangleSubstitution()
6229 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in addSubstitution() local
6230 addSubstitution(TypePtr); in addSubstitution()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DInitVariablesCheck.cpp81 QualType TypePtr = MatchedDecl->getType(); in check() local
85 if (TypePtr->isEnumeralType()) in check()
87 else if (TypePtr->isBooleanType()) in check()
89 else if (TypePtr->isIntegerType()) in check()
91 else if (TypePtr->isFloatingType()) { in check()
94 } else if (TypePtr->isAnyPointerType()) { in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DParentVirtualCallCheck.cpp52 const Type *TypePtr = ActualMemberDecl->getThisType().getTypePtr(); in getParentsByGrandParent() local
53 const CXXRecordDecl *RecordDeclType = TypePtr->getPointeeCXXRecordDecl(); in getParentsByGrandParent()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp414 if (const Type *TypePtr = Value->getType().getTypePtrOrNull()) { in check() local
415 if (const auto *Typedef = TypePtr->getAs<TypedefType>()) in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp604 CanQualType TypePtr = S.Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpecImpl() local
605 if (OldTypes.count(TypePtr)) in CheckEquivalentExceptionSpecImpl()
606 NewTypes.insert(TypePtr); in CheckEquivalentExceptionSpecImpl()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2194 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local
2195 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl()
2197 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl()
2198 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl()
2200 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
3896 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local
3897 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr()
3898 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
H A DRewriteModernObjC.cpp2281 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local
2282 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl()
2284 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl()
2285 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl()
2287 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
4728 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local
4729 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr()
4730 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DPPCGCodeGeneration.cpp2175 Type *TypePtr = SAI->getElementType()->getPointerTo(); in prepareKernelArguments() local
2176 Value *TypedArgPtr = Builder.CreatePointerCast(Val, TypePtr); in prepareKernelArguments()
2212 Type *TypePtr = SAI->getElementType()->getPointerTo(); in finalizeKernelArguments() local
2213 Value *TypedArgPtr = Builder.CreatePointerCast(ArgPtr, TypePtr); in finalizeKernelArguments()