Home
last modified time | relevance | path

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

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
Dp5-cxx0x.cpp86 namespace RequireCompleteType { namespace
/external/clang/lib/Sema/
DSemaExprCXX.cpp304 RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid)) in BuildCXXTypeId()
330 if (RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid)) in BuildCXXTypeId()
578 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
828 RequireCompleteType(TyBeginLoc, ElemTy, in BuildCXXTypeConstructExpr()
1428 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R)) in CheckAllocatedType()
2039 if (RequireCompleteType(StartLoc, Type, in ActOnCXXDelete()
2111 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
2949 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness()
3369 S.RequireCompleteType(KWLoc, Args[I]->getType(), in evaluateTypeTrait()
3490 if (Self.RequireCompleteType(KeyLoc, RhsT, in EvaluateBinaryTypeTrait()
[all …]
DSemaCast.cpp567 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
603 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
1082 if (Self.RequireCompleteType(OpRange.getBegin(), SrcType, 0) || in TryStaticDowncast()
1083 Self.RequireCompleteType(OpRange.getBegin(), DestType, 0)) in TryStaticDowncast()
1308 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in TryStaticImplicitCast()
1998 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in CheckCStyleCast()
DSemaExprObjC.cpp930 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression()
1221 if (RequireCompleteType(argExpr->getSourceRange().getBegin(), in CheckMessageArgumentTypes()
1400 if (RequireCompleteType(MemberLoc, OPT->getPointeeType(), in HandleExprPropertyRefExpr()
1523 if (RequireCompleteType(MemberLoc, OBJPT->getPointeeType(), in HandleExprPropertyRefExpr()
1963 if (RequireCompleteType(Loc, Context.getObjCInterfaceType(Class), in BuildClassMessage()
1999 RequireCompleteType(LBracLoc, Method->getResultType(), in BuildClassMessage()
2266 if (RequireCompleteType(Loc, OCIType->getPointeeType(), in BuildInstanceMessage()
2336 RequireCompleteType(LBracLoc, Method->getResultType(), in BuildInstanceMessage()
DSemaType.cpp1440 if (RequireCompleteType(Loc, T, in BuildArrayType()
1727 RequireCompleteType(Loc, Class, diag::err_incomplete_type)) in BuildMemberPointerType()
4502 return RequireCompleteType(E->getExprLoc(), T, Diagnoser); in RequireCompleteExprType()
4541 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema
4654 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema
4657 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
4697 RequireCompleteType(Loc, ElemType, 0); in RequireLiteralType()
4720 RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T); in RequireLiteralType()
4914 if (RequireCompleteType(Loc, T, diag::err_atomic_specifier_bad_type, 0)) in BuildAtomicType()
DSema.cpp684 if (RequireCompleteType(VD->getLocation(), in ActOnEndOfTranslationUnit()
697 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
DSemaInit.cpp2839 if (S.RequireCompleteType(Kind.getLocation(), DestType, 0)) { in TryConstructorInitialization()
3083 if (S.RequireCompleteType(InitList->getLocStart(), DestType, 0)) { in TryListInitialization()
3170 !S.RequireCompleteType(Kind.getLocation(), T1, 0)) { in TryRefInitWithConversionFunction()
3213 !S.RequireCompleteType(Kind.getLocation(), T2, 0)) { in TryRefInitWithConversionFunction()
3742 if (!S.RequireCompleteType(Kind.getLocation(), DestType, 0)) { in TryUserDefinedConversion()
3788 if (!S.RequireCompleteType(DeclLoc, SourceType, 0)) { in TryUserDefinedConversion()
4535 if (S.RequireCompleteType(Loc, T, diag::err_temp_copy_incomplete)) in CopyObject()
4598 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject()
5917 S.RequireCompleteType(Kind.getLocation(), FailedIncompleteType, in Diagnose()
DSemaDeclObjC.cpp331 RequireCompleteType(Param->getLocation(), Param->getType(), in ActOnStartOfObjCMethodDef()
543 else if (RequireCompleteType(SuperLoc, in ActOnStartClassInterface()
830 || RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryInterface()
909 } else if (RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryImplementation()
956 RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartClassImplementation()
DSemaOverload.cpp1782 !RequireCompleteType(From->getLocStart(), FromType, 0)) in IsIntegralPromotion()
2113 !RequireCompleteType(From->getLocStart(), FromPointeeType, 0) && in IsPointerConversion()
2746 !RequireCompleteType(From->getLocStart(), ToClass, 0) && in IsMemberPointerConversion()
3051 S.RequireCompleteType(From->getExprLoc(), ToType, 0); in IsUserDefinedConversion()
3129 } else if (S.RequireCompleteType(From->getLocStart(), From->getType(), 0)) { in IsUserDefinedConversion()
3972 } else if (!RequireCompleteType(Loc, OrigT2, 0) && in CompareReferenceRelationship()
4236 !S.RequireCompleteType(DeclLoc, T2, 0) && in TryReferenceInit()
4308 T2->isRecordType() && !S.RequireCompleteType(DeclLoc, T2, 0) && in TryReferenceInit()
4436 if (S.RequireCompleteType(From->getLocStart(), ToType, 0)) in TryListConversion()
5171 if (RequireCompleteType(Loc, T, IncompleteDiagnoser)) in ConvertToIntegralOrEnumerationType()
[all …]
DSemaExpr.cpp746 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion()
3142 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand()
3532 RequireCompleteType(LLoc, ResultType, in CreateBuiltinArraySubscriptExpr()
3780 if (RequireCompleteType(Arg->getLocStart(), in GatherArgumentsForCall()
4225 if (RequireCompleteType(Arg->getLocStart(), in BuildResolvedCallExpr()
4279 if (RequireCompleteType(LParenLoc, Context.getBaseElementType(literalType), in BuildCompoundLiteralExpr()
4288 RequireCompleteType(LParenLoc, literalType, in BuildCompoundLiteralExpr()
6356 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType()
7746 return S.RequireCompleteType(Loc, E->getType(), in CheckForModifiableLvalue()
7925 S.RequireCompleteType(Loc, RHS.get()->getType(), in CheckCommaOperands()
[all …]
DSemaCXXScopeSpec.cpp224 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
DSemaStmtAsm.cpp554 if (RequireCompleteType(AsmLoc, QualType(RT, 0), 0)) in LookupInlineAsmField()
DSemaExprMember.cpp560 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
1177 if (RequireCompleteType(OpLoc, BaseType, diag::err_typecheck_incomplete_tag, in LookupMemberExpr()
DSemaDecl.cpp7282 if (RequireCompleteType(VDecl->getLocation(), BaseDeclType, in AddInitializerToDecl()
7608 if (RequireCompleteType(VD->getLocation(), in ActOnInitializerError()
7680 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl()
7707 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl()
7722 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl()
7760 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl()
8536 RequireCompleteType(FD->getLocation(), ResultType, in ActOnStartOfFunctionDef()
10155 if (RequireCompleteType(FieldLoc, FieldTy, diag::err_field_incomplete)) in VerifyBitField()
10356 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { in CheckFieldDecl()
10845 RequireCompleteType(FD->getLocation(), FD->getType(), in ActOnFields()
DSemaLambda.cpp194 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in enterLambdaScope()
DSemaExceptionSpec.cpp88 RequireCompleteType(Range.getBegin(), PointeeT, in CheckSpecifiedExceptionType()
DSemaStmt.cpp1504 RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand()
1898 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
DSemaPseudoObject.cpp950 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
DSemaObjCProperty.cpp927 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
DSemaDeclCXX.cpp233 if (RequireCompleteType(Param->getLocation(), Param->getType(), in SetParamDefaultArgument()
1145 if (RequireCompleteType(BaseLoc, BaseType, in CheckBaseSpecifier()
10255 !BaseType->isDependentType() && RequireCompleteType(Loc, BaseType, DK)) in BuildExceptionDeclaration()
11189 RequireCompleteType(New->getLocation(), NewClassTy, in CheckOverridingFunctionReturnType()
DSemaTemplateInstantiateDecl.cpp3549 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
DSemaLookup.cpp1870 if (Result.S.RequireCompleteType(Result.InstantiationLoc, type, in addAssociatedClassesAndNamespaces()
DSemaTemplateDeduction.cpp1376 if (S.RequireCompleteType(Info.getLocation(), Arg, 0)) in DeduceTemplateArgumentsByTypeMatch()
DSemaChecking.cpp5678 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
/external/clang/include/clang/Sema/
DSema.h1115 bool RequireCompleteType(SourceLocation Loc, QualType T,
1117 bool RequireCompleteType(SourceLocation Loc, QualType T,
1121 bool RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function
1124 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
1128 bool RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function
1131 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
1135 bool RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function
1140 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()