Home
last modified time | relevance | path

Searched refs:TypedefType (Results 1 – 25 of 68) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DNSAPI.cpp383 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind()
518 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind()
575 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef()
H A DFormatString.cpp979 assert(isa<TypedefType>(QT) && "Expected a TypedefType"); in namedTypeToLengthModifier()
980 const TypedefNameDecl *Typedef = cast<TypedefType>(QT)->getDecl(); in namedTypeToLengthModifier()
1003 if (!isa<TypedefType>(T)) in namedTypeToLengthModifier()
1006 Typedef = cast<TypedefType>(T)->getDecl(); in namedTypeToLengthModifier()
H A DQualTypeNames.cpp251 } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) { in getFullyQualifiedNestedNameSpecifier()
323 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
H A DODRHash.cpp712 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef()
1032 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType()
1037 if (const TypedefType *Underlying = in VisitTypedefType()
1038 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
H A DASTImporterLookupTable.cpp66 } else if (isa<TypedefType>(Ty)) { in VisitFriendDecl()
H A DCommentSema.cpp895 if (QT->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
898 if (P->getPointeeType()->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
901 if (P->getPointeeType()->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
H A DType.cpp83 ND = ty->castAs<TypedefType>()->getDecl(); in getBaseTypeIdentifier()
524 template <> const TypedefType *Type::getAs() const { in getAs()
525 return getAsSugar<TypedefType>(this); in getAs()
3380 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType
3384 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType()
3387 QualType TypedefType::desugar() const { in desugar()
4255 if (const auto *typedefType = dyn_cast<TypedefType>(cur)) in isObjCNSObjectType()
4266 if (const auto *typedefType = dyn_cast<TypedefType>(this)) in isObjCIndependentClassType()
H A DPrintfFormatString.cpp846 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
876 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
H A DScanfFormatString.cpp503 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp47 if (const TypedefType *TT = Ty->getAs<TypedefType>()) in isBooleanType()
H A DNonnullGlobalConstantsChecker.cpp112 if (const auto *TT = dyn_cast<TypedefType>(T)) { in isGlobalConstString()
139 } else if (auto *T = dyn_cast<TypedefType>(Ty)) { in isNonnullType()
H A DNSErrorChecker.cpp316 const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>(); in IsCFError()
H A DLLVMConventionsChecker.cpp53 const TypedefType *TT = T->getAs<TypedefType>(); in IsStdString()
H A DFuchsiaHandleChecker.cpp261 if (const auto *HandleType = S->getType()->getAs<TypedefType>()) in VisitSymbol()
291 if (const auto *HandleType = QT->getAs<TypedefType>()) { in getFuchsiaHandleSymbols()
378 if (const auto *TypeDefTy = FuncDecl->getReturnType()->getAs<TypedefType>()) in checkPostCall()
H A DStackAddrEscapeChecker.cpp130 const auto *T = C.getVariable()->getType()->getAs<TypedefType>(); in isSemaphoreCaptured()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCocoaConventions.cpp27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar
80 def TypedefType : TypeNode<Type>, NeverCanonical;
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp434 const TypedefType *TT = T->getAs<TypedefType>(); in clang_getTypedefName()
496 D = cast<TypedefType>(TP)->getDecl(); in clang_getTypeDeclaration()
1299 if (auto *TT = dyn_cast_or_null<TypedefType>(T.getTypePtrOrNull())) { in clang_Type_isTransparentTagTypedef()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp509 if (!isa<TypedefType>(RT)) { in rewriteToObjCProperty()
1057 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) in TypeIsInnerPointer()
1360 while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr())) in IsVoidStarType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTextNodeDumper.h309 void VisitTypedefType(const TypedefType *T);
H A DJSONNodeDumper.h209 void VisitTypedefType(const TypedefType *TT);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp88 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp470 if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>()) in getSupportedDeclFromTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprObjC.cpp3846 static inline T *getObjCBridgeAttr(const TypedefType *TD) { in getObjCBridgeAttr()
3863 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in ObjCBridgeRelatedAttrFromType()
4010 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in CheckObjCBridgeNSCast()
4076 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in CheckObjCBridgeCFCast()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtypecons.d6431 static if (isFloatingPoint!T1 || isFloatingPoint!(TypedefType!T1))
6563 template TypedefType(T)
6566 alias TypedefType = Arg;
6568 alias TypedefType = T;
6574 import std.typecons : Typedef, TypedefType;
6578 static assert(is(TypedefType!MyInt == int));
6581 static assert(is(TypedefType!int == int));
6586 MyInt myInt = MyInt( num.to!(TypedefType!MyInt) );
6590 int x = cast(TypedefType!MyInt) myInt;
6593 static assert(is(TypedefType!MyIntInit == int));

123