Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DQualTypeNames.cpp121 const Type *TypePtr, in getFullyQualifiedTemplateType() argument
126 assert(!isa<DependentTemplateSpecializationType>(TypePtr)); in getFullyQualifiedTemplateType()
129 if (const auto *TST = dyn_cast<const TemplateSpecializationType>(TypePtr)) { in getFullyQualifiedTemplateType()
151 } else if (const auto *TSTRecord = dyn_cast<const RecordType>(TypePtr)) { in getFullyQualifiedTemplateType()
185 return TypePtr; in getFullyQualifiedTemplateType()
319 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf() argument
321 if (!TypePtr) return nullptr; in createNestedNameSpecifierForScopeOf()
325 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
327 } else if (const auto *TagDeclType = dyn_cast<TagType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
329 } else if (const auto *TST = dyn_cast<TemplateSpecializationType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
[all …]
H A DMicrosoftMangle.cpp2102 void *TypePtr; in mangleFunctionArgumentType() local
2112 TypePtr = OriginalType.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
2121 TypePtr = T.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
2124 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in mangleFunctionArgumentType()
2137 FunArgBackReferences[TypePtr] = Size; in mangleFunctionArgumentType()
2150 auto *TypePtr = (const void *)&*Iter; in manglePassObjectSizeArg() local
2151 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in manglePassObjectSizeArg()
2160 FunArgBackReferences[TypePtr] = Size; in manglePassObjectSizeArg()
H A DItaniumMangle.cpp6057 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in mangleSubstitution() local
6059 return mangleSubstitution(TypePtr); in mangleSubstitution()
6230 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in addSubstitution() local
6231 addSubstitution(TypePtr); in addSubstitution()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExceptionSpec.cpp605 CanQualType TypePtr = S.Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpecImpl() local
606 if (OldTypes.count(TypePtr)) in CheckEquivalentExceptionSpecImpl()
607 NewTypes.insert(TypePtr); in CheckEquivalentExceptionSpecImpl()
/openbsd-src/gnu/llvm/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()