v.g.vassilev added a comment.

@rsmith, any ideas how to support value printing of constructs such as `int i = 
12`, eg, that's not a top-level statement declaration but worth printing its 
value? It is the shorthand of `int i = 12; i`.



================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:7219
 void CodeGenModule::moveLazyEmissionStates(CodeGenModule *NewBuilder) {
-  assert(DeferredDeclsToEmit.empty() &&
-         "Should have emitted all decls deferred to emit.");
+  // FIXME: Re-enable the assertions once we fix regular codegen to not leave
+  // weak references behind.
----------------
junaire wrote:
> I'll removed the change after https://reviews.llvm.org/D148435 landed.
That can probably go away now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148997/new/

https://reviews.llvm.org/D148997

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to