================
@@ -84,6 +200,34 @@ Address CIRGenFunction::loadCXXThisAddress() {
   return Address(loadCXXThis(), cxxThisAlignment);
 }
 
+void CIRGenFunction::emitInitializerForField(FieldDecl *field, LValue lhs,
+                                             Expr *init) {
+  QualType fieldType = field->getType();
+  switch (getEvaluationKind(fieldType)) {
+  case cir::TEK_Scalar:
+    if (lhs.isSimple()) {
----------------
bcardosolopes wrote:

Get rid of extra curly braces here.

https://github.com/llvm/llvm-project/pull/144583
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to