aaron.ballman added inline comments.

================
Comment at: clang/lib/CodeGen/CGExprConstant.cpp:1402
+    RetType = CGM.getContext().getLValueReferenceType(RetType);
+  assert(!RetType.isNull() && "Not certain of the constant expression's type");
+
----------------
efriedma wrote:
> Not sure the assertion is useful; RetType is obviously non-null in the 
> current version.
Fair enough, I removed it when landing the changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131194

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

Reply via email to