| Issue |
182392
|
| Summary |
[libc++][test] vector/trivial_relocation.pass.cpp uses implementation-specific attribute `[[clang::trivial_abi]]`
|
| Labels |
clang,
libc++
|
| Assignees |
|
| Reporter |
StephanTLavavej
|
libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp is in the portable path (test/std), but uses an implementation-specific attribute:
https://github.com/llvm/llvm-project/blob/d93ad10a2e9fb07132771cc5c9f356d4439c8950/libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp#L26
This causes MSVC to emit "warning C5030: attribute `[[clang::trivial_abi]]` is not recognized".
The use of this attribute should be guarded for Clang.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs