aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-09-13 09:13:34 -0400
committerLouis Dionne <ldionne.2@gmail.com>2024-09-13 09:16:17 -0400
commit9282c9d282e8062965f20d4ef89324cc96b92447 (patch)
tree0b3337c0d609acc1ced2a9c00e573c58a8904e9b /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent471360b2241aaca8ffe457ac796e01d4f0988e6a (diff)
downloadllvm-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