Home
last modified time | relevance | path

Searched refs:isSFINAEContext (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.cpp152 if (CI->getSema().isSFINAEContext()) in MaybeDiagnoseMissingCompleteType()
189 if (CI->getSema().isSFINAEContext()) in CorrectTypo()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp124 assert(!isSFINAEContext() && in computeDeclContext()
243 bool TreatAsComplete = !isSFINAEContext(); in RequireCompleteDeclContext()
DSemaExprCXX.cpp2935 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
5334 isSFINAEContext() ? nullptr in CXXCheckConditionalOperands()
6079 if (S.isSFINAEContext()) in CheckArrow()
6238 if (isSFINAEContext()) in ActOnPseudoDestructorExpr()
6287 if (isSFINAEContext()) in ActOnPseudoDestructorExpr()
DSemaTemplateInstantiate.cpp563 Optional<TemplateDeductionInfo *> Sema::isSFINAEContext() const { in isSFINAEContext() function in Sema
1862 bool Recover = Complain && !S.isSFINAEContext(); in DiagnoseUninstantiableTemplate()
DSema.cpp967 if (Optional<TemplateDeductionInfo*> Info = isSFINAEContext()) { in EmitCurrentDiagnostic()
DSemaType.cpp2214 isSFINAEContext()? diag::err_typecheck_zero_array_size in BuildArrayType()
2249 if (isSFINAEContext()) { in BuildArrayType()
6969 bool TreatAsComplete = Diagnoser && !isSFINAEContext(); in RequireCompleteTypeImpl()
DSemaExpr.cpp8810 bool *BoolPtr = S.isSFINAEContext() ? nullptr : &NonStandardCompositeType; in convertPointersToCompositeType()
9198 *this, Loc, LHS, RHS, /*isError*/ (bool)isSFINAEContext()); in CheckCompareOperands()
9200 if (isSFINAEContext()) in CheckCompareOperands()
10405 bool sfinae = (bool)isSFINAEContext(); in CheckAddressOfOperand()
10406 Diag(OpLoc, isSFINAEContext() ? diag::err_typecheck_addrof_temporary in CheckAddressOfOperand()
DSemaInit.cpp5493 S.Diag(Loc, IsExtraneousCopy && !S.isSFINAEContext() in CopyObject()
5499 if (!IsExtraneousCopy || S.isSFINAEContext()) in CopyObject()
DSemaDecl.cpp15162 if (isSFINAEContext() || !getLangOpts().ModulesErrorRecovery) in createImplicitModuleImportForErrorRecovery()
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp122 assert(!isSFINAEContext() && in computeDeclContext()
243 bool TreatAsComplete = !isSFINAEContext(); in RequireCompleteDeclContext()
DSemaModule.cpp505 if (isSFINAEContext() || !getLangOpts().ModulesErrorRecovery || in createImplicitModuleImportForErrorRecovery()
DSemaConcept.cpp945 if (isSFINAEContext()) in MaybeEmitAmbiguousAtomicConstraintsDiagnostic()
DSemaExprCXX.cpp3473 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
7297 if (S.isSFINAEContext()) in CheckArrow()
7496 if (isSFINAEContext()) in ActOnPseudoDestructorExpr()
7549 if (isSFINAEContext()) in ActOnPseudoDestructorExpr()
DSema.cpp1358 if (Optional<TemplateDeductionInfo*> Info = isSFINAEContext()) { in EmitCurrentDiagnostic()
DSemaType.cpp2419 } else if (isSFINAEContext()) { in BuildArrayType()
2479 isSFINAEContext() ? diag::err_typecheck_zero_array_size in BuildArrayType()
8619 bool TreatAsComplete = Diagnoser && !isSFINAEContext(); in RequireCompleteTypeImpl()
DSemaTemplateInstantiate.cpp835 Optional<TemplateDeductionInfo *> Sema::isSFINAEContext() const { in isSFINAEContext() function in Sema
DSemaExpr.cpp11672 *this, Loc, LHS, RHS, /*isError*/ (bool)isSFINAEContext()); in CheckCompareOperands()
11674 if (isSFINAEContext()) in CheckCompareOperands()
13377 bool sfinae = (bool)isSFINAEContext(); in CheckAddressOfOperand()
13378 Diag(OpLoc, isSFINAEContext() ? diag::err_typecheck_addrof_temporary in CheckAddressOfOperand()
19421 if (isSFINAEContext()) in CreateRecoveryExpr()
DSemaOverload.cpp5929 if (SemaRef.isSFINAEContext()) in diagnoseNoViableConversion()
5956 if (SemaRef.isSFINAEContext()) in recordConversion()
12995 CurContext->isDependentContext() && !isSFINAEContext() && in buildOverloadedCallSet()
DSemaInit.cpp6200 Loc, S.PDiag(IsExtraneousCopy && !S.isSFINAEContext() in CopyObject()
6206 if (!IsExtraneousCopy || S.isSFINAEContext()) in CopyObject()
DSemaTemplate.cpp802 bool Recover = Complain && !isSFINAEContext(); in DiagnoseUninstantiableTemplate()
3695 if (auto DeductionInfo = isSFINAEContext()) { in CheckTemplateIdType()
DSemaDeclCXX.cpp15134 if (!isSFINAEContext()) in BuildCXXDefaultInitExpr()
/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.cpp342 if (SemaPtr->isSFINAEContext()) in CorrectTypo()
/external/clang/include/clang/Sema/
DSema.h6938 Optional<sema::TemplateDeductionInfo *> isSFINAEContext() const;
6964 if (!SemaRef.isSFINAEContext()) in SemaRef()
/external/llvm-project/clang/include/clang/Sema/
DSema.h8860 Optional<sema::TemplateDeductionInfo *> isSFINAEContext() const;
8889 if (!SemaRef.isSFINAEContext()) in SemaRef()