/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/ |
D | p5-cxx0x.cpp | 86 namespace RequireCompleteType { namespace
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 304 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 …]
|
D | SemaCast.cpp | 567 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()
|
D | SemaExprObjC.cpp | 930 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()
|
D | SemaType.cpp | 1440 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()
|
D | Sema.cpp | 684 if (RequireCompleteType(VD->getLocation(), in ActOnEndOfTranslationUnit() 697 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
|
D | SemaInit.cpp | 2839 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()
|
D | SemaDeclObjC.cpp | 331 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()
|
D | SemaOverload.cpp | 1782 !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 …]
|
D | SemaExpr.cpp | 746 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 …]
|
D | SemaCXXScopeSpec.cpp | 224 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
|
D | SemaStmtAsm.cpp | 554 if (RequireCompleteType(AsmLoc, QualType(RT, 0), 0)) in LookupInlineAsmField()
|
D | SemaExprMember.cpp | 560 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 1177 if (RequireCompleteType(OpLoc, BaseType, diag::err_typecheck_incomplete_tag, in LookupMemberExpr()
|
D | SemaDecl.cpp | 7282 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()
|
D | SemaLambda.cpp | 194 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in enterLambdaScope()
|
D | SemaExceptionSpec.cpp | 88 RequireCompleteType(Range.getBegin(), PointeeT, in CheckSpecifiedExceptionType()
|
D | SemaStmt.cpp | 1504 RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand() 1898 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
|
D | SemaPseudoObject.cpp | 950 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
|
D | SemaObjCProperty.cpp | 927 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
|
D | SemaDeclCXX.cpp | 233 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()
|
D | SemaTemplateInstantiateDecl.cpp | 3549 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
|
D | SemaLookup.cpp | 1870 if (Result.S.RequireCompleteType(Result.InstantiationLoc, type, in addAssociatedClassesAndNamespaces()
|
D | SemaTemplateDeduction.cpp | 1376 if (S.RequireCompleteType(Info.getLocation(), Arg, 0)) in DeduceTemplateArgumentsByTypeMatch()
|
D | SemaChecking.cpp | 5678 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1115 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()
|