Home
last modified time | relevance | path

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

/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp133 const Type *TypePtr, in getFullyQualifiedTemplateType() argument
138 assert(!isa<DependentTemplateSpecializationType>(TypePtr)); in getFullyQualifiedTemplateType()
141 if (const auto *TST = dyn_cast<const TemplateSpecializationType>(TypePtr)) { in getFullyQualifiedTemplateType()
165 } else if (const auto *TSTRecord = dyn_cast<const RecordType>(TypePtr)) { in getFullyQualifiedTemplateType()
199 return TypePtr; in getFullyQualifiedTemplateType()
333 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf() argument
335 if (!TypePtr) return nullptr; in createNestedNameSpecifierForScopeOf()
339 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
341 } else if (const auto *TagDeclType = dyn_cast<TagType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
343 } else if (const auto *TST = dyn_cast<TemplateSpecializationType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
[all …]
/external/clang/lib/AST/
DMicrosoftMangle.cpp1484 void *TypePtr; in mangleArgumentType() local
1494 TypePtr = OriginalType.getCanonicalType().getAsOpaquePtr(); in mangleArgumentType()
1503 TypePtr = T.getCanonicalType().getAsOpaquePtr(); in mangleArgumentType()
1506 ArgBackRefMap::iterator Found = TypeBackReferences.find(TypePtr); in mangleArgumentType()
1519 TypeBackReferences[TypePtr] = Size; in mangleArgumentType()
1531 auto *TypePtr = (const void *)&*Iter; in manglePassObjectSizeArg() local
1532 ArgBackRefMap::iterator Found = TypeBackReferences.find(TypePtr); in manglePassObjectSizeArg()
1540 TypeBackReferences[TypePtr] = Size; in manglePassObjectSizeArg()
DItaniumMangle.cpp4225 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in mangleSubstitution() local
4227 return mangleSubstitution(TypePtr); in mangleSubstitution()
4391 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in addSubstitution() local
4392 addSubstitution(TypePtr); in addSubstitution()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp568 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec() local
569 if(OldTypes.count(TypePtr)) in CheckEquivalentExceptionSpec()
570 NewTypes.insert(TypePtr); in CheckEquivalentExceptionSpec()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2185 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local
2186 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl()
2188 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl()
2189 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl()
2191 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
3899 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local
3900 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr()
3901 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
DRewriteModernObjC.cpp2274 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local
2275 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl()
2277 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl()
2278 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl()
2280 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
4740 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local
4741 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr()
4742 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()