diff options
author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2023-12-13 08:39:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 08:39:39 -0800 |
commit | eaa11526c873b65a9dc0aaf0ebaf66de3db8ed21 (patch) | |
tree | ed082bd9c99e434ec6cbd349ab4e43d677c023e5 /clang/unittests/Driver/ToolChainTest.cpp | |
parent | d87191942dc4701fafd7e87f02305711a4fd22f2 (diff) | |
download | llvm-eaa11526c873b65a9dc0aaf0ebaf66de3db8ed21.zip llvm-eaa11526c873b65a9dc0aaf0ebaf66de3db8ed21.tar.gz llvm-eaa11526c873b65a9dc0aaf0ebaf66de3db8ed21.tar.bz2 |
[libc] fix -Wmacro-redefined (#75261)
When building with compiler-rt enabled, warnings such as the following
are
observed:
llvm-project/llvm/build/projects/compiler-rt/../libc/include/llvm-libc-macros/linux/sys-stat-macros.h:46:9:
warning: 'S_IXOTH' macro redefined [-Wmacro-redefined]
#define S_IXOTH 00001
^
llvm-project/llvm/build/projects/compiler-rt/../libc/include/llvm-libc-macros/linux/fcntl-macros.h:61:9:
note: previous definition is here
#define S_IXOTH 01
^
It looks like we have these multiply defined. Deduplicate these flags;
users
should expect to find them in sys/stat.h. S_FIFO was wrong anyways
(should
have been S_IFIFO).
Diffstat (limited to 'clang/unittests/Driver/ToolChainTest.cpp')
0 files changed, 0 insertions, 0 deletions