diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-09-13 09:13:34 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2024-09-13 09:16:17 -0400 |
commit | 9282c9d282e8062965f20d4ef89324cc96b92447 (patch) | |
tree | 0b3337c0d609acc1ced2a9c00e573c58a8904e9b /llvm/unittests/CodeGen/MachineInstrTest.cpp | |
parent | 471360b2241aaca8ffe457ac796e01d4f0988e6a (diff) | |
download | llvm-9282c9d282e8062965f20d4ef89324cc96b92447.zip llvm-9282c9d282e8062965f20d4ef89324cc96b92447.tar.gz llvm-9282c9d282e8062965f20d4ef89324cc96b92447.tar.bz2 |
[libc++] Avoid name conflict with declaration in <unistd.h>
It appears that ::link is also declared as another kind of symbol
in <unistd.h>, which we seem to get transitively when we start using
a single top-level module. Instead of declaring these names as global
extern variables, use function parameters to achieve the same thing.
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions