Lines Matching refs:Sema
14 #include "clang/Sema/Initialization.h"
21 #include "clang/Sema/Designator.h"
22 #include "clang/Sema/Lookup.h"
23 #include "clang/Sema/SemaInternal.h"
32 // Sema Initialization Checking
86 Sema &S) {
171 Sema &SemaRef;
264 InitListChecker(Sema &S, const InitializedEntity &Entity,
471 InitListChecker::InitListChecker(Sema &S, const InitializedEntity &Entity,
817 == Sema::Compatible) {
1476 static void ExpandAnonymousFieldDesignator(Sema &SemaRef,
1522 static DesignatedInitExpr *CloneDesignatedInitExpr(Sema &SemaRef,
1715 Sema::LookupMemberName, /*Scope=*/0, /*SS=*/0, Validator,
2164 CheckArrayDesignatorExpr(Sema &S, Expr *Index, llvm::APSInt &Value) {
2180 ExprResult Sema::ActOnDesignatedInitializer(Designation &Desig,
2697 static void MaybeProduceObjCObject(Sema &S,
2729 static bool TryInitializerListConstruction(Sema &S,
2760 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc,
2828 static void TryConstructorInitialization(Sema &S,
2946 ResolveOverloadedFunctionForReferenceBinding(Sema &S,
2973 static void TryReferenceInitializationCore(Sema &S,
2983 static void TryValueInitialization(Sema &S,
2989 static void TryListInitialization(Sema &S,
2996 static void TryReferenceListInitialization(Sema &S,
3032 Sema::ReferenceCompareResult RefRelationship
3035 if (RefRelationship >= Sema::Ref_Related) {
3064 static void TryListInitialization(Sema &S,
3134 static OverloadingResult TryRefInitWithConversionFunction(Sema &S,
3292 Sema::ReferenceCompareResult NewRefRelationship
3297 if (NewRefRelationship == Sema::Ref_Incompatible) {
3324 static void CheckCXX98CompatAccessibleCopy(Sema &S,
3329 static void TryReferenceInitialization(Sema &S,
3355 static void TryReferenceInitializationCore(Sema &S,
3373 Sema::ReferenceCompareResult RefRelationship
3390 (RefRelationship >= Sema::Ref_Compatible_With_Added_Qualification ||
3392 RefRelationship == Sema::Ref_Related))) {
3425 if (RefRelationship == Sema::Ref_Incompatible && T2->isRecordType() &&
3453 ? (RefRelationship == Sema::Ref_Related
3466 (RefRelationship >= Sema::Ref_Compatible_With_Added_Qualification ||
3468 RefRelationship == Sema::Ref_Related)) &&
3508 if (RefRelationship == Sema::Ref_Incompatible) {
3567 if (RefRelationship == Sema::Ref_Related &&
3575 if (RefRelationship >= Sema::Ref_Related && !isLValueRef &&
3588 static void TryStringLiteralInitialization(Sema &S,
3597 static void TryValueInitialization(Sema &S,
3676 static void TryDefaultInitialization(Sema &S,
3715 static void TryUserDefinedConversion(Sema &S,
3945 static void checkIndirectCopyRestoreSource(Sema &S, Expr *src) {
3980 static bool tryObjCWritebackConversion(Sema &S,
4027 static bool TryOCLSamplerInitialization(Sema &S,
4047 static bool TryOCLZeroEventInitialization(Sema &S,
4060 InitializationSequence::InitializationSequence(Sema &S,
4315 static Sema::AssignmentAction
4323 return Sema::AA_Initializing;
4328 return Sema::AA_Sending;
4330 return Sema::AA_Passing;
4333 return Sema::AA_Returning;
4337 return Sema::AA_Casting;
4345 return Sema::AA_Initializing;
4405 static void LookupCopyAndMoveConstructors(Sema &S,
4487 /// \param S The Sema object used for type-checking.
4503 static ExprResult CopyObject(Sema &S,
4636 static void CheckCXX98CompatAccessibleCopy(Sema &S,
4687 void InitializationSequence::PrintInitLocationNote(Sema &S,
4707 PerformConstructorInitialization(Sema &S,
4868 InitializationSequence::Perform(Sema &S,
5237 Sema::CheckedConversionKind CCK
5238 = Kind.isCStyleCast()? Sema::CCK_CStyleCast
5239 : Kind.isFunctionalCast()? Sema::CCK_FunctionalCast
5240 : Kind.isExplicitCast()? Sema::CCK_OtherCast
5241 : Sema::CCK_ImplicitConversion;
5377 Sema::AssignConvertType ConvTy =
5385 if (ConvTy != Sema::Compatible &&
5388 == Sema::Compatible)
5389 ConvTy = Sema::Compatible;
5554 static bool DiagnoseUninitializedReference(Sema &S, SourceLocation Loc,
5593 bool InitializationSequence::Diagnose(Sema &S,
6249 static void DiagnoseNarrowingInInitList(Sema &S, InitializationSequence &Seq,
6364 Sema::CanPerformCopyInitialization(const InitializedEntity &Entity,
6379 Sema::PerformCopyInitialization(const InitializedEntity &Entity,