[libcxx-commits] [libcxx] Add [[clang::lifetimebound]] to numerous functions in libc++ include headers (PR #112751)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 29 11:50:55 PDT 2024


================
@@ -10,6 +10,8 @@
 #ifndef SUPPORT_TEST_MACROS_HPP
 #define SUPPORT_TEST_MACROS_HPP
 
+#pragma clang diagnostic warning "-Wdangling"
----------------
higher-performance wrote:

Is there a way to make CI just warn on this inside tests? I'm not familiar with the build internals so if you could tell me what change to make that would be ideal.

https://github.com/llvm/llvm-project/pull/112751


More information about the libcxx-commits mailing list