diff options
author | Nikita Popov <npopov@redhat.com> | 2024-01-19 15:19:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 15:19:58 +0100 |
commit | d54dfdd1b53ff72344287d250c2b67329792c840 (patch) | |
tree | 2434581c7dbdf32886edc80583a67f037c96388d /llvm/lib/FileCheck/FileCheck.cpp | |
parent | 5a7f9a5a9c85c9b7851bbf267f5a12b9211f810e (diff) | |
download | llvm-d54dfdd1b53ff72344287d250c2b67329792c840.zip llvm-d54dfdd1b53ff72344287d250c2b67329792c840.tar.gz llvm-d54dfdd1b53ff72344287d250c2b67329792c840.tar.bz2 |
[Clang] Fix build with GCC 14 on ARM (#78704)
GCC 14 defines `__arm_streaming` as a macro expanding to
`[[arm::streaming]]`. Due to the nested macro use, this gets expanded
prior to concatenation.
It doesn't look like C++ has a really clean way to prevent macro
expansion. The best I have found is to use `EMPTY ## X` where `EMPTY` is
an empty macro argument, so this is the hack I'm implementing here.
Fixes https://github.com/llvm/llvm-project/issues/78691.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions