================
@@ -321,7 +321,8 @@ class Compiler : public ConstStmtVisitor<Compiler<Emitter>, 
bool>,
   VarCreationState visitDecl(const VarDecl *VD);
   /// Visit an APValue.
   bool visitAPValue(const APValue &Val, PrimType ValType, SourceInfo Info);
-  bool visitAPValueInitializer(const APValue &Val, SourceInfo Info, QualType 
T);
+  bool visitAPValueInitializer(const APValue &Val, SourceInfo Info, QualType T,
+                               bool Toplevel = true);
----------------
yronglin wrote:

IIUC, we should rename `TopLevel` to `IsCompleteClass`? Because the function 
definition use `IsCompleteClass`, and `IsCompleteClass` looks more make sense.

https://github.com/llvm/llvm-project/pull/204289
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to