diff options
| author | zibi2 <62662650+zibi2@users.noreply.github.com> | 2024-04-22 13:24:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-22 13:24:47 -0400 |
| commit | 180cf4daec290e68aa4dd6dc14697add3e18bcec (patch) | |
| tree | 59a12d7e9b42e737a5cdea18b94ebbf2ef2f4491 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 772863e3120fc770ae1ab458022284be04810097 (diff) | |
| download | llvm-180cf4daec290e68aa4dd6dc14697add3e18bcec.zip llvm-180cf4daec290e68aa4dd6dc14697add3e18bcec.tar.gz llvm-180cf4daec290e68aa4dd6dc14697add3e18bcec.tar.bz2 | |
[clangd] Fix unittests in TargetDeclTest bucket (#89630)
This PR fixes the build errors for one of the `clangd` unit tests bucket
similar to the following:
```
.../clang-tools-extra/clangd/unittests/FindTargetTests.cpp:430:29: error: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Werror,-Wc++20-extensions]
430 | EXPECT_DECLS("AutoTypeLoc");
| ^
.../clang-tools-extra/clangd/unittests/FindTargetTests.cpp:98:9: note: macro 'EXPECT_DECLS' defined here
98 | #define EXPECT_DECLS(NodeType, ...) \
| ^
```
This happens when using a build compiler with #84520. The fix is to
include commas to compensate for empty vararg macro arguments in a few
instances.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
