[PATCH] D152977: [NFC] Fix potential dereferencing of null return value.

Sindhu Chittireddy via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 10:43:34 PDT 2023


schittir added inline comments.


================
Comment at: clang/lib/Frontend/FrontendActions.cpp:461
 
+    assert(NamedCtx, "NamedCtx cannot be null");
+
----------------
aaron.ballman wrote:
> This doesn't build. ;-)
Thanks for the catch. Something was wrong with my workspace build setup, and didn't diagnose this at all! I changed this in the new patch. 


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

https://reviews.llvm.org/D152977



More information about the cfe-commits mailing list