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()
650 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()
747 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
1052 RequireCompleteType(TyBeginLoc, ElemTy, in BuildCXXTypeConstructExpr()
1676 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R)) in CheckAllocatedType()
2722 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
3574 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness()
3583 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness()
3624 return !S.RequireCompleteType( in CheckUnaryTypeTraitTypeCompleteness()
4104 if (S.RequireCompleteType(KWLoc, ArgTy, in evaluateTypeTrait()
[all …]
DSemaExprObjC.cpp1060 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression()
1643 if (RequireCompleteType(argExpr->getSourceRange().getBegin(), in CheckMessageArgumentTypes()
1778 if (RequireCompleteType(MemberLoc, OPT->getPointeeType(), in HandleExprPropertyRefExpr()
1901 if (RequireCompleteType(MemberLoc, OBJPT->getPointeeType(), in HandleExprPropertyRefExpr()
2369 if (RequireCompleteType(Loc, Context.getObjCInterfaceType(Class), in BuildClassMessage()
2407 RequireCompleteType(LBracLoc, Method->getReturnType(), in BuildClassMessage()
2607 if (RequireCompleteType(Loc, Receiver->getType(), in BuildInstanceMessage()
2732 if (RequireCompleteType(Loc, OCIType->getPointeeType(), in BuildInstanceMessage()
2857 RequireCompleteType(LBracLoc, Method->getReturnType(), in BuildInstanceMessage()
DSemaCast.cpp605 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
650 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
1496 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in TryStaticImplicitCast()
2275 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in CheckCStyleCast()
DSemaCoroutine.cpp67 if (S.RequireCompleteType(Loc, CoroTrait, in lookupPromiseType()
DSemaExpr.cpp984 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion()
3562 if (RequireCompleteType(E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3665 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand()
4075 if (RequireCompleteType(Base->getExprLoc(), ResultTy, in ActOnOMPArraySectionExpr()
4253 RequireCompleteType(LLoc, ResultType, in CreateBuiltinArraySubscriptExpr()
4571 if (RequireCompleteType(Arg->getLocStart(), in GatherArgumentsForCall()
5187 if (RequireCompleteType(Arg->getLocStart(), in BuildResolvedCallExpr()
5243 if (RequireCompleteType(LParenLoc, Context.getBaseElementType(literalType), in BuildCompoundLiteralExpr()
5252 RequireCompleteType(LParenLoc, literalType, in BuildCompoundLiteralExpr()
7714 return S.RequireCompleteType(Loc, PointeeTy, in checkArithmeticIncompletePointerType()
[all …]
DSemaType.cpp2006 if (RequireCompleteType(Loc, T, in BuildArrayType()
6439 return RequireCompleteType(E->getExprLoc(), T, Diagnoser); in RequireCompleteExprType()
6464 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema
6726 bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, in RequireCompleteType() function in Sema
6729 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
6787 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
7001 if (RequireCompleteType(Loc, T, diag::err_atomic_specifier_bad_type, 0)) in BuildAtomicType()
DSemaExprMember.cpp609 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
1316 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
DSemaCXXScopeSpec.cpp212 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
DSemaDeclObjC.cpp543 else if (RequireCompleteType(SuperLoc, in ActOnSuperClassOfClassInterface()
1719 || RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryInterface()
1822 } else if (RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryImplementation()
1872 RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartClassImplementation()
DSemaExceptionSpec.cpp115 RequireCompleteType(Range.getBegin(), PointeeT, in CheckSpecifiedExceptionType()
DSemaDecl.cpp4417 if (RequireCompleteType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct()
9266 if (RequireCompleteType(VDecl->getLocation(), BaseDeclType, in AddInitializerToDecl()
9629 if (RequireCompleteType(VD->getLocation(), in ActOnInitializerError()
9720 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl()
9747 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl()
9762 RequireCompleteType(Var->getLocation(), Type, in ActOnUninitializedDecl()
9801 if (RequireCompleteType(Var->getLocation(), in ActOnUninitializedDecl()
10878 RequireCompleteType(FD->getLocation(), ResultType, in ActOnStartOfFunctionDef()
12800 if (RequireCompleteType(FieldLoc, FieldTy, diag::err_field_incomplete)) in VerifyBitField()
13019 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { in CheckFieldDecl()
[all …]
DSemaOpenMP.cpp1166 if (RequireCompleteType(ILoc, VD->getType(), in CheckOMPThreadPrivateDecl()
6367 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPPrivateClause()
6503 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPFirstprivateClause()
6767 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPLastprivateClause()
7149 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPReductionClause()
7525 if (RequireCompleteType(ELoc, QType, in ActOnOpenMPLinearClause()
DSemaStmt.cpp1710 ? RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand()
2205 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
3417 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
DSema.cpp813 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
DSemaLambda.cpp460 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in buildLambdaScope()
DSemaInit.cpp5358 if (S.RequireCompleteType(Loc, T, diag::err_temp_copy_incomplete)) in CopyObject()
5421 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject()
6972 if (!S.RequireCompleteType(Kind.getLocation(), in Diagnose()
7230 S.RequireCompleteType(Kind.getLocation(), FailedIncompleteType, in Diagnose()
DSemaPseudoObject.cpp1068 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
DSemaObjCProperty.cpp1020 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
DSemaOverload.cpp3285 if (!RequireCompleteType(From->getLocStart(), ToType, in DiagnoseMultipleUserDefinedConversion()
5460 : RequireCompleteType(Loc, T, IncompleteDiagnoser)) in PerformContextualImplicitConversion()
12194 if (RequireCompleteType(LParenLoc, Object.get()->getType(), in BuildCallToObjectOfClassType()
12473 if (RequireCompleteType(Loc, Base->getType(), in BuildOverloadedArrowExpr()
DSemaDeclCXX.cpp250 if (RequireCompleteType(Param->getLocation(), Param->getType(), in SetParamDefaultArgument()
1426 if (RequireCompleteType(BaseLoc, BaseType, in CheckBaseSpecifier()
11987 !BaseType->isDependentType() && RequireCompleteType(Loc, BaseType, DK)) in BuildExceptionDeclaration()
12996 RequireCompleteType(New->getLocation(), NewClassTy, in CheckOverridingFunctionReturnType()
DSemaTemplateInstantiateDecl.cpp4582 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
DSemaChecking.cpp1728 RequireCompleteType(Ptr->getLocStart(), ValType->getPointeeType(), in SemaAtomicOpsOverloaded()
8395 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
/external/clang/include/clang/Sema/
DSema.h1417 bool RequireCompleteType(SourceLocation Loc, QualType T,
1419 bool RequireCompleteType(SourceLocation Loc, QualType T,
1423 bool RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID, in RequireCompleteType() function
1426 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()