Issue 83462
Summary Clang accepts invalid identifiers in [[gnu::abi_tag]]
Labels clang, accepts-invalid
Assignees
Reporter philnik777
    Currently clang accepts code like `[[gnu::abi_tag("123")]] void func() {}`. The problem is that this will produce a mangled function name that cannot be demangled. In this case `_Z4funcB3123v`. GCC correctly rejects this: https://godbolt.org/z/vGjKMrEv4.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to