/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() 650 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() 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 …]
|
D | SemaExprObjC.cpp | 1060 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()
|
D | SemaCast.cpp | 605 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()
|
D | SemaCoroutine.cpp | 67 if (S.RequireCompleteType(Loc, CoroTrait, in lookupPromiseType()
|
D | SemaExpr.cpp | 984 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 …]
|
D | SemaType.cpp | 2006 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()
|
D | SemaExprMember.cpp | 609 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 1316 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
|
D | SemaCXXScopeSpec.cpp | 212 if (RequireCompleteType(loc, type, diag::err_incomplete_nested_name_spec, in RequireCompleteDeclContext()
|
D | SemaDeclObjC.cpp | 543 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()
|
D | SemaExceptionSpec.cpp | 115 RequireCompleteType(Range.getBegin(), PointeeT, in CheckSpecifiedExceptionType()
|
D | SemaDecl.cpp | 4417 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 …]
|
D | SemaOpenMP.cpp | 1166 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()
|
D | SemaStmt.cpp | 1710 ? RequireCompleteType(forLoc, QualType(objectType, 0), in CheckObjCForCollectionOperand() 2205 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt() 3417 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
|
D | Sema.cpp | 813 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
|
D | SemaLambda.cpp | 460 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType, in buildLambdaScope()
|
D | SemaInit.cpp | 5358 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()
|
D | SemaPseudoObject.cpp | 1068 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
|
D | SemaObjCProperty.cpp | 1020 if (RequireCompleteType(PropertyDiagLoc, PropertyIvarType, in ActOnPropertyImplDecl()
|
D | SemaOverload.cpp | 3285 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()
|
D | SemaDeclCXX.cpp | 250 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()
|
D | SemaTemplateInstantiateDecl.cpp | 4582 RequireCompleteType(Loc, T, diag::err_incomplete_type)) in FindInstantiatedDecl()
|
D | SemaChecking.cpp | 1728 RequireCompleteType(Ptr->getLocStart(), ValType->getPointeeType(), in SemaAtomicOpsOverloaded() 8395 RequireCompleteType(Param->getLocation(), Param->getType(), in CheckParmsForFunctionDef()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1417 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()
|