Home
last modified time | relevance | path

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

12

/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/llvm-project/clang/lib/AST/
DQualTypeNames.cpp117 const Type *TypePtr, in getFullyQualifiedTemplateType() argument
122 assert(!isa<DependentTemplateSpecializationType>(TypePtr)); in getFullyQualifiedTemplateType()
125 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()
317 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf() argument
319 if (!TypePtr) return nullptr; in createNestedNameSpecifierForScopeOf()
323 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
325 } else if (const auto *TagDeclType = dyn_cast<TagType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
327 } else if (const auto *TST = dyn_cast<TemplateSpecializationType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
[all …]
DMicrosoftMangle.cpp1958 void *TypePtr; in mangleFunctionArgumentType() local
1968 TypePtr = OriginalType.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
1977 TypePtr = T.getCanonicalType().getAsOpaquePtr(); in mangleFunctionArgumentType()
1980 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in mangleFunctionArgumentType()
1993 FunArgBackReferences[TypePtr] = Size; in mangleFunctionArgumentType()
2006 auto *TypePtr = (const void *)&*Iter; in manglePassObjectSizeArg() local
2007 ArgBackRefMap::iterator Found = FunArgBackReferences.find(TypePtr); in manglePassObjectSizeArg()
2016 FunArgBackReferences[TypePtr] = Size; in manglePassObjectSizeArg()
DItaniumMangle.cpp5400 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in mangleSubstitution() local
5402 return mangleSubstitution(TypePtr); in mangleSubstitution()
5566 uintptr_t TypePtr = reinterpret_cast<uintptr_t>(T.getAsOpaquePtr()); in addSubstitution() local
5567 addSubstitution(TypePtr); in addSubstitution()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DInitVariablesCheck.cpp80 QualType TypePtr = MatchedDecl->getType(); in check() local
84 if (TypePtr->isIntegerType()) in check()
86 else if (TypePtr->isFloatingType()) { in check()
89 } else if (TypePtr->isAnyPointerType()) { in check()
/external/libabigail/tests/data/test-diff-suppr/
Dtest25-typedef-v0.c16 typedef struct PrivateType1* TypePtr; typedef
26 baz(TypePtr t) in baz()
Dtest25-typedef-v1.c18 typedef struct PrivateType1* TypePtr; typedef
28 baz(TypePtr t) in baz()
Dtest25-typedef-report-0.txt14 [C] 'function void baz(TypePtr)' has some indirect sub-type changes:
15 parameter 1 of type 'typedef TypePtr' has sub-type changes:
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DParentVirtualCallCheck.cpp52 const Type *TypePtr = ActualMemberDecl->getThisType().getTypePtr(); in getParentsByGrandParent() local
53 const CXXRecordDecl *RecordDeclType = TypePtr->getPointeeCXXRecordDecl(); in getParentsByGrandParent()
/external/rust/crates/syn/src/
Dty.rs48 Ptr(TypePtr),
215 pub struct TypePtr {
669 impl Parse for TypePtr { implementation
682 Ok(TypePtr { in parse()
1089 impl ToTokens for TypePtr { implementation
Dlib.rs417 TypeMacro, TypeNever, TypeParen, TypePath, TypePtr, TypeReference, TypeSlice, TypeTraitObject,
/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/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp414 if (const Type *TypePtr = Value->getType().getTypePtrOrNull()) { in check() local
415 if (const auto *Typedef = TypePtr->getAs<TypedefType>()) in check()
/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/llvm-project/clang/lib/Sema/
DSemaExceptionSpec.cpp597 CanQualType TypePtr = S.Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpecImpl() local
598 if (OldTypes.count(TypePtr)) in CheckEquivalentExceptionSpecImpl()
599 NewTypes.insert(TypePtr); in CheckEquivalentExceptionSpecImpl()
DSema.cpp2510 auto TypePtr = QT->castAs<ExtVectorType>()->getElementType().getTypePtr(); in checkOpenCLDisabledTypeDeclSpec() local
2511 return checkOpenCLDisabledTypeOrDecl(TypePtr, Loc, QT, OpenCLTypeExtMap); in checkOpenCLDisabledTypeDeclSpec()
/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()
/external/llvm-project/clang/lib/Frontend/Rewrite/
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()
3910 const Type* TypePtr = QT->getAs<Type>(); in RewriteCastExpr() local
3911 if (isa<TypeOfExprType>(TypePtr)) { in RewriteCastExpr()
3912 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteCastExpr()
DRewriteModernObjC.cpp2280 const Type* TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl() local
2281 if (!isa<TypeOfExprType>(TypePtr)) in RewriteTypeOfDecl()
2283 while (isa<TypeOfExprType>(TypePtr)) { in RewriteTypeOfDecl()
2284 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr); in RewriteTypeOfDecl()
2286 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()
/external/rust/cxx/syntax/
Dparse.rs20 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1090 fn parse_type_ptr(ty: &TypePtr) -> Result<Type> { in parse_type_ptr()
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp2155 Type *TypePtr = SAI->getElementType()->getPointerTo(); in prepareKernelArguments() local
2156 Value *TypedArgPtr = Builder.CreatePointerCast(Val, TypePtr); in prepareKernelArguments()
2192 Type *TypePtr = SAI->getElementType()->getPointerTo(); in finalizeKernelArguments() local
2193 Value *TypedArgPtr = Builder.CreatePointerCast(ArgPtr, TypePtr); in finalizeKernelArguments()
/external/rust/crates/syn/src/gen/
Dfold.rs696 fn fold_type_ptr(&mut self, i: TypePtr) -> TypePtr { in fold_type_ptr() argument
2989 pub fn fold_type_ptr<F>(f: &mut F, node: TypePtr) -> TypePtr in fold_type_ptr()
2993 TypePtr { in fold_type_ptr()
Dclone.rs2025 impl Clone for TypePtr { implementation
2027 TypePtr { in clone()

12