[libc-commits] [libc] [libc] add getrandom vDSO symbol (PR #151630)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Aug 6 06:59:16 PDT 2025


================
@@ -110,8 +110,8 @@ TEST(LlvmLibcOSUtilVDSOTest, RtSigReturn) {
   using namespace testing::ErrnoSetterMatcher;
   // must use struct since there is a function of the same name in the same
   // scope.
-  struct sigaction sa {};
-  struct sigaction old_sa {};
+  struct sigaction sa{};
+  struct sigaction old_sa{};
----------------
SchrodingerZhu wrote:

I get the following warning:
Must use 'struct' tag to refer to type 'sigaction' in this scope clang(use_of_tag_name_without_tag)

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


More information about the libc-commits mailing list