[PATCH] D145793: [clang][AST] Improve diagnostic for `nullptr` constexpr function pointer call

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 10:09:52 PST 2023


aaron.ballman added inline comments.


================
Comment at: clang/include/clang/Basic/DiagnosticASTKinds.td:131
+def note_constexpr_null_callee : Note<
+  "function pointer '%0' evaluates to a null pointer">;
 def note_constexpr_function_param_value_unknown : Note<
----------------
Small rewording.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145793



More information about the cfe-commits mailing list