[PATCH] D136554: Implement CWG2631

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 31 08:26:57 PDT 2022


cor3ntin marked 8 inline comments as done.
cor3ntin added inline comments.


================
Comment at: clang/test/CodeGenCXX/default-arguments-with-immediate.cpp:22
+
+// CHECK: define {{.*}} i32 @_ZL3extv()
+
----------------
aaron.ballman wrote:
> Move this check line up to where ext is declared?
I moved it after `test_function`, which where it is defined, because it is a static function, it is only defined if odr used, and only odr used if the parameter is defaulted.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136554



More information about the cfe-commits mailing list