|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/CanonicalType.h 126 CanProxy<T> operator->() const;
References
tools/clang/include/clang/AST/CanonicalType.h 625 return RefType->getPointeeType();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 640 assert(lTy->getTypePtr()->isBlockPointerType());
tools/clang/lib/AST/ASTContext.cpp 6805 switch (CT->getTypeClass()) {
tools/clang/lib/AST/ExprClassification.cpp 644 if (CT->isArrayType())
647 if (CT->isIncompleteType())
651 if (const RecordType *R = CT->getAs<RecordType>())
tools/clang/lib/AST/VTableBuilder.cpp 282 assert(CanDerivedReturnType->getTypeClass() ==
283 CanBaseReturnType->getTypeClass() &&
293 CanDerivedReturnType->getAs<ReferenceType>()->getPointeeType();
295 CanBaseReturnType->getAs<ReferenceType>()->getPointeeType();
298 CanDerivedReturnType->getAs<PointerType>()->getPointeeType();
300 CanBaseReturnType->getAs<PointerType>()->getPointeeType();
tools/clang/lib/CodeGen/CGCall.cpp 106 return arrangeLLVMFunctionInfo(FTNP->getReturnType().getUnqualifiedType(),
109 FTNP->getExtInfo(), {}, RequiredArgs(0));
147 if (!FPT->hasExtParameterInfos()) {
150 prefix.append(FPT->param_type_begin(), FPT->param_type_end());
150 prefix.append(FPT->param_type_begin(), FPT->param_type_end());
158 prefix.reserve(prefix.size() + FPT->getNumParams());
160 auto ExtInfos = FPT->getExtParameterInfos();
161 assert(ExtInfos.size() == FPT->getNumParams());
162 for (unsigned I = 0, E = FPT->getNumParams(); I != E; ++I) {
163 prefix.push_back(FPT->getParamType(I));
182 CanQualType resultType = FTP->getReturnType().getUnqualifiedType();
186 FTP->getExtInfo(), paramInfos,
267 const FunctionType *FT = FTy->getAs<FunctionType>();
343 FunctionType::ExtInfo extInfo = FTP->getExtInfo();
416 FunctionType::ExtInfo Info = FPT->getExtInfo();
420 if (PassProtoArgs && FPT->hasExtParameterInfos()) {
447 noProto->getReturnType(), /*instanceMethod=*/false,
448 /*chainCall=*/false, None, noProto->getExtInfo(), {},RequiredArgs::All);
535 FTP->getExtInfo(), {}, RequiredArgs(1));
548 ArgTys.push_back(*FTP->param_type_begin());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1148 const CXXRecordDecl *RD = FI.getReturnType()->getAsCXXRecordDecl();
4167 if (CatchType->hasPointerRepresentation()) {
4213 auto catchRD = CatchType->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1084 const CXXRecordDecl *RD = FI.getReturnType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 834 if (type->isVoidType()) {
tools/clang/lib/CodeGen/TargetInfo.cpp 3623 if (IsRegCall && FI.getReturnType()->getTypePtr()->isRecordType() &&
3624 !FI.getReturnType()->getTypePtr()->isUnionType()) {
3633 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>()) {
3636 const ComplexType *CT = FI.getReturnType()->getAs<ComplexType>();
3661 if (IsRegCall && it->type->isStructureOrClassType())
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 172 const RecordType *RTy = CT->getAs<RecordType>();
tools/clang/lib/Sema/SemaAccess.cpp 353 if (!Friend->isDependentType() && !Context->isDependentType())
353 if (!Friend->isDependentType() && !Context->isDependentType())
373 ->getAs<FunctionProtoType>();
376 ->getAs<FunctionProtoType>();
383 if (FriendTy->getNumParams() != ContextTy->getNumParams())
383 if (FriendTy->getNumParams() != ContextTy->getNumParams())
386 if (!MightInstantiateTo(S, ContextTy->getReturnType(),
387 FriendTy->getReturnType()))
390 for (unsigned I = 0, E = FriendTy->getNumParams(); I != E; ++I)
391 if (!MightInstantiateTo(S, ContextTy->getParamType(I),
392 FriendTy->getParamType(I)))
425 if (const RecordType *RT = Friend->getAs<RecordType>())
429 if (Friend->isDependentType())
tools/clang/lib/Sema/SemaCast.cpp 1428 if (!DestType->getAs<RecordType>() || !SrcType->getAs<RecordType>()) {
1428 if (!DestType->getAs<RecordType>() || !SrcType->getAs<RecordType>()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 812 switch (T->getTypeClass()) {
845 return getSimplifiedTypeClass(T->getAs<ReferenceType>()->getPointeeType());
1005 !(PreferredType->isEnumeralType() && TC->isEnumeralType()))
1005 !(PreferredType->isEnumeralType() && TC->isEnumeralType()))
tools/clang/lib/Sema/SemaDeclCXX.cpp 2703 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths);
10298 if (BaseType->isDependentType())
tools/clang/lib/Sema/SemaExpr.cpp 3495 bool CharIsUnsigned = Context.CharTy->isUnsignedIntegerType();
tools/clang/lib/Sema/SemaOverload.cpp 1491 Type::TypeClass TyClass = CanTo->getTypeClass();
1492 if (TyClass != CanFrom->getTypeClass()) return false;
1512 TyClass = CanTo->getTypeClass();
1513 if (TyClass != CanFrom->getTypeClass()) return false;
9961 if (CanQual<ReferenceType> RT = CToTy->getAs<ReferenceType>())
9962 CToTy = RT->getPointeeType();
9965 if (CanQual<PointerType> FromPT = CFromTy->getAs<PointerType>())
9966 if (CanQual<PointerType> ToPT = CToTy->getAs<PointerType>()) {
9967 CFromTy = FromPT->getPointeeType();
9968 CToTy = ToPT->getPointeeType();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 1148 const FunctionType *ParamFunction = Param->getAs<FunctionType>(),
1149 *ArgFunction = Arg->getAs<FunctionType>();
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp 556 if (CanRetTy->isStructureOrClassType()) {