[all-commits] [llvm/llvm-project] e973ab: [libc][NFC] Fix few warnings in tests. (#81262)
lntue via All-commits
all-commits at lists.llvm.org
Fri Feb 9 08:23:51 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e973ab150a802a9503ca34753589d29863df30cc
https://github.com/llvm/llvm-project/commit/e973ab150a802a9503ca34753589d29863df30cc
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/sys/socket/linux/bind_test.cpp
Log Message:
-----------
[libc][NFC] Fix few warnings in tests. (#81262)
```
/usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/test/src/__support/FPUtil/fpbits_test.cpp:268:2: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
};
^
1 warning generated.
```
```
In file included from /usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/test/src/sys/socket/linux/bind_test.cpp:17:
/usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/test/UnitTest/Test.h:17:9: warning: 'libc_make_test_file_path' macro redefined [-Wmacro-redefined]
#define libc_make_test_file_path(file_name) (file_name)
^
/usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/test/UnitTest/LibcTest.h:20:9: note: previous definition is here
#define libc_make_test_file_path(file_name) \
^
1 warning generated.
```
More information about the All-commits
mailing list