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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 05:47:06 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM with the think-o fixed.



================
Comment at: clang/lib/Frontend/FrontendActions.cpp:461
 
+    assert(NamedCtx, "NamedCtx cannot be null");
+
----------------
This doesn't build. ;-)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152977



More information about the cfe-commits mailing list