Lines Matching refs:getAs
191 if (auto *BaseTT = Base.getType()->getAs<TagType>())
193 else if (auto *TST = Base.getType()->getAs<TemplateSpecializationType>()) {
1793 if (const TypedefType *TT = Ty->getAs<TypedefType>()) {
1807 if (const TagType *TT = Ty->getAs<TagType>()) {
3081 const AttributedType *AT = T->getAs<AttributedType>();
3083 AT = AT->getModifiedType()->getAs<AttributedType>();
3429 const FunctionType *AdjustedType = New->getType()->getAs<FunctionType>();
3674 const FunctionType *OldFuncType = OldQType->getAs<FunctionType>();
3675 const FunctionType *NewFuncType = NewQType->getAs<FunctionType>();
3725 New->getType()->getAs<FunctionProtoType>() &&
3730 = Old->getType()->getAs<FunctionProtoType>();
3732 = New->getType()->getAs<FunctionProtoType>();
5966 if (PointerTypeLoc SrcPTL = SrcTL.getAs<PointerTypeLoc>()) {
5973 if (ParenTypeLoc SrcPTL = SrcTL.getAs<ParenTypeLoc>()) {
8657 while ((Typedef = PT->getAs<TypedefType>())) {
8690 PT->getPointeeOrArrayElementType()->getAs<RecordType>();
9173 const FunctionProtoType *FPT = R->getAs<FunctionProtoType>();
9266 } else if (const FunctionProtoType *FT = R->getAs<FunctionProtoType>()) {
9668 !NewFD->getType()->getAs<FunctionProtoType>()) {
9674 const FunctionType *FT = NewFD->getType()->getAs<FunctionType>();
9720 if (!R->getAs<FunctionType>()->getReturnType()->isScalarType())
9792 if(const PipeType *PipeTy = PT->getAs<PipeType>()) {
10081 !OldFD->getType()->getAs<FunctionProtoType>()) {
10088 !NewFD->getType()->getAs<FunctionProtoType>())
10158 OldFD->getType()->getAs<FunctionProtoType>(), OldFD->getLocation(),
10159 NewFD->getType()->getAs<FunctionProtoType>(), NewFD->getLocation()))
10673 .IgnoreParens().getAs<FunctionTypeLoc>())
10883 if (auto *RT = T->getAs<ReferenceType>())
10887 else if (auto *MPT = T->getAs<MemberPointerType>())
10889 if (auto *FPT = T->getAs<FunctionProtoType>())
11040 if ((PT = qs.strip(AT)->getAs<PointerType>()) &&
11041 (PT = qs.strip(PT->getPointeeType())->getAs<PointerType>()) &&
12087 Init = Result.getAs<Expr>();
12606 = Context.getBaseElementType(Type)->getAs<RecordType>()) {
12949 if (const RecordType *recordType = baseType->getAs<RecordType>())
14037 if (const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>())
14207 if (!FD->getReturnType()->getAs<AutoType>()) {
14283 if (FunctionNoProtoTypeLoc FTL = TL.getAs<FunctionNoProtoTypeLoc>())
14847 const auto *FPT = FD->getType()->getAs<FunctionProtoType>();
14949 if (const BuiltinType *BT = T->getAs<BuiltinType>())
15645 if (const TagType *TT = TD->getUnderlyingType()->getAs<TagType>()) {
16675 if (const RecordType *RT = EltTy->getAs<RecordType>()) {
16732 if (const RecordType *RT = EltTy->getAs<RecordType>()) {
17095 } else if (const RecordType *FDTTy = FDTy->getAs<RecordType>()) {
17186 if (const auto *RT = FT->getAs<RecordType>()) {