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.cpp92 namespace RequireCompleteType { namespace
/external/clang/lib/Sema/
DSemaStmtAsm.cpp227 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()
DSemaExprCXX.cpp386 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 …]
DSemaExprObjC.cpp1057 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()
DSemaCast.cpp606 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()
DSemaCoroutine.cpp67 if (S.RequireCompleteType(Loc, CoroTrait, in lookupPromiseType()
DSemaExpr.cpp996 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 …]
DSemaType.cpp2127 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()
DSemaExprMember.cpp623 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
1379 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
DSemaCXXScopeSpec.cpp224 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
DSemaDeclObjC.cpp542 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()
DSemaExceptionSpec.cpp122 RequireCompleteType(Range.getBegin(), PointeeT, DiagID, Kind, Range)) in CheckSpecifiedExceptionType()
DSemaDecl.cpp4548 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 …]
DSemaStmt.cpp1731 ? RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand()
2228 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
3490 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
DSema.cpp810 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
DSemaLambda.cpp461 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in buildLambdaScope()
DSemaOpenMP.cpp1337 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()
DSemaInit.cpp5475 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()
DSemaPseudoObject.cpp1069 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
DSemaObjCProperty.cpp1035 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
DSemaOverload.cpp3338 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()
DSemaDeclCXX.cpp250 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()
DSemaTemplateInstantiateDecl.cpp4792 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
DSemaChecking.cpp2447 RequireCompleteType(Ptr->getLocStart(), ValType->getPointeeType(), in SemaAtomicOpsOverloaded()
9426 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
/external/clang/include/clang/Sema/
DSema.h1454 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()