/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/ |
D | p5-cxx0x.cpp | 92 namespace RequireCompleteType { namespace
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 227 if (RequireCompleteType(OutputExpr->getLocStart(), Exprs[i]->getType(), in ActOnGCCAsmStmt() 323 if (RequireCompleteType(InputExpr->getLocStart(), Exprs[i]->getType(), in ActOnGCCAsmStmt() 644 if (RequireCompleteType(AsmLoc, QualType(RT, 0), in LookupInlineAsmField()
|
D | SemaExprCXX.cpp | 386 RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid)) in BuildCXXTypeId() 415 if (RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid)) in BuildCXXTypeId() 788 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand() 1285 RequireCompleteType(TyBeginLoc, ElemTy, in BuildCXXTypeConstructExpr() 1910 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R)) in CheckAllocatedType() 2947 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete() 3834 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness() 3843 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness() 3884 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness() 4364 if (S.RequireCompleteType(KWLoc, ArgTy, in evaluateTypeTrait() [all …]
|
D | SemaExprObjC.cpp | 1057 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression() 1640 if (RequireCompleteType(argExpr->getSourceRange().getBegin(), in CheckMessageArgumentTypes() 1775 if (RequireCompleteType(MemberLoc, OPT->getPointeeType(), in HandleExprPropertyRefExpr() 1918 if (RequireCompleteType(MemberLoc, OBJPT->getPointeeType(), in HandleExprPropertyRefExpr() 2382 if (RequireCompleteType(Loc, Context.getObjCInterfaceType(Class), in BuildClassMessage() 2420 RequireCompleteType(LBracLoc, Method->getReturnType(), in BuildClassMessage() 2619 if (RequireCompleteType(Loc, Receiver->getType(), in BuildInstanceMessage() 2750 if (RequireCompleteType(Loc, OCIType->getPointeeType(), in BuildInstanceMessage() 2884 RequireCompleteType(LBracLoc, Method->getReturnType(), in BuildInstanceMessage()
|
D | SemaCast.cpp | 606 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast() 651 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast() 1496 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in TryStaticImplicitCast() 2389 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in CheckCStyleCast()
|
D | SemaCoroutine.cpp | 67 if (S.RequireCompleteType(Loc, CoroTrait, in lookupPromiseType()
|
D | SemaExpr.cpp | 996 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion() 3638 if (RequireCompleteType(E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand() 3741 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand() 4303 if (RequireCompleteType(Base->getExprLoc(), ResultTy, in ActOnOMPArraySectionExpr() 4488 RequireCompleteType(LLoc, ResultType, in CreateBuiltinArraySubscriptExpr() 4819 if (RequireCompleteType(Arg->getLocStart(), in GatherArgumentsForCall() 5464 if (RequireCompleteType(Arg->getLocStart(), in BuildResolvedCallExpr() 5520 if (RequireCompleteType(LParenLoc, Context.getBaseElementType(literalType), in BuildCompoundLiteralExpr() 5529 RequireCompleteType(LParenLoc, literalType, in BuildCompoundLiteralExpr() 8150 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType() [all …]
|
D | SemaType.cpp | 2127 if (RequireCompleteType(Loc, T, in BuildArrayType() 6801 return RequireCompleteType(E->getExprLoc(), T, Diagnoser); in RequireCompleteExprType() 6826 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema 7092 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema 7095 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType() 7153 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType() 7367 if (RequireCompleteType(Loc, T, diag::err_atomic_specifier_bad_type, 0)) in BuildAtomicType()
|
D | SemaExprMember.cpp | 623 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 1379 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
|
D | SemaCXXScopeSpec.cpp | 224 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
|
D | SemaDeclObjC.cpp | 542 else if (RequireCompleteType(SuperLoc, in ActOnSuperClassOfClassInterface() 1727 || RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryInterface() 1830 } else if (RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryImplementation() 1887 RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartClassImplementation()
|
D | SemaExceptionSpec.cpp | 122 RequireCompleteType(Range.getBegin(), PointeeT, DiagID, Kind, Range)) in CheckSpecifiedExceptionType()
|
D | SemaDecl.cpp | 4548 if (RequireCompleteType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct() 9601 if (RequireCompleteType(VDecl->getLocation(), BaseDeclType, in AddInitializerToDecl() 9966 if (RequireCompleteType(VD->getLocation(), in ActOnInitializerError() 10066 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl() 10093 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl() 10108 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl() 10147 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl() 11288 RequireCompleteType(FD->getLocation(), ResultType, in ActOnStartOfFunctionDef() 13250 if (RequireCompleteType(FieldLoc, FieldTy, diag::err_field_incomplete)) in VerifyBitField() 13473 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { in CheckFieldDecl() [all …]
|
D | SemaStmt.cpp | 1731 ? RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand() 2228 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt() 3490 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
|
D | Sema.cpp | 810 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
|
D | SemaLambda.cpp | 461 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in buildLambdaScope()
|
D | SemaOpenMP.cpp | 1337 if (RequireCompleteType(ILoc, VD->getType(), in CheckOMPThreadPrivateDecl() 8228 if (RequireCompleteType(ELoc, Type, diag::err_omp_private_incomplete_type)) in ActOnOpenMPPrivateClause() 8371 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPFirstprivateClause() 8655 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPLastprivateClause() 9149 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPReductionClause() 9561 if (RequireCompleteType(ELoc, Type, diag::err_omp_linear_incomplete_type)) in CheckOpenMPLinearDecl()
|
D | SemaInit.cpp | 5475 if (S.RequireCompleteType(Loc, T, diag::err_temp_copy_incomplete)) in CopyObject() 5538 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject() 7138 if (!S.RequireCompleteType(Kind.getLocation(), in Diagnose() 7399 S.RequireCompleteType(Kind.getLocation(), FailedIncompleteType, in Diagnose()
|
D | SemaPseudoObject.cpp | 1069 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
|
D | SemaObjCProperty.cpp | 1035 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
|
D | SemaOverload.cpp | 3338 if (!RequireCompleteType(From->getLocStart(), ToType, in DiagnoseMultipleUserDefinedConversion() 5520 : RequireCompleteType(Loc, T, IncompleteDiagnoser)) in PerformContextualImplicitConversion() 12451 if (RequireCompleteType(LParenLoc, Object.get()->getType(), in BuildCallToObjectOfClassType() 12730 if (RequireCompleteType(Loc, Base->getType(), in BuildOverloadedArrowExpr()
|
D | SemaDeclCXX.cpp | 250 if (RequireCompleteType(Param->getLocation(), Param->getType(), in SetParamDefaultArgument() 1426 if (RequireCompleteType(BaseLoc, BaseType, in CheckBaseSpecifier() 12228 !BaseType->isDependentType() && RequireCompleteType(Loc, BaseType, DK)) in BuildExceptionDeclaration() 13214 RequireCompleteType(New->getLocation(), NewClassTy, in CheckOverridingFunctionReturnType()
|
D | SemaTemplateInstantiateDecl.cpp | 4792 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
|
D | SemaChecking.cpp | 2447 RequireCompleteType(Ptr->getLocStart(), ValType->getPointeeType(), in SemaAtomicOpsOverloaded() 9426 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1454 bool RequireCompleteType(SourceLocation Loc, QualType T, 1456 bool RequireCompleteType(SourceLocation Loc, QualType T, 1460 bool RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID, in RequireCompleteType() function 1463 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
|