[clang] [C23] Implement N3018: The constexpr specifier for object definitions (PR #73099)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 03:10:57 PST 2024


================
@@ -14277,6 +14325,113 @@ StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
                                                       : IdentLoc);
 }
 
+static ImplicitConversionKind GetConversionKind(QualType FromType,
----------------
Fznamznon wrote:

@AaronBallman , I think I could reuse `IsStandardConversion` to build `StandardConversionSequence` object and call it from `InitializationSequence::Perform`, so `InitializationSequence` will take care of the recursion.

https://github.com/llvm/llvm-project/pull/73099


More information about the cfe-commits mailing list