Skip to content

Allow standards-based attributes to have leading and trailing underscores.#8259

Merged
Axel-Naumann merged 1 commit intoroot-project:v6-24-00-patchesfrom
Axel-Naumann:clang-attr-double_underscore-2ed4573e8f8619dc67647256ac070bf91f461392-v624
May 31, 2021
Merged

Allow standards-based attributes to have leading and trailing underscores.#8259
Axel-Naumann merged 1 commit intoroot-project:v6-24-00-patchesfrom
Axel-Naumann:clang-attr-double_underscore-2ed4573e8f8619dc67647256ac070bf91f461392-v624

Conversation

@Axel-Naumann
Copy link
Copy Markdown
Member

This gives library implementers a way to use standards-based attributes that do not conflict with user-defined macros of the same name. Attributes in C2x require this behavior normatively (C2x 6.7.11p4), but there's no reason to not have the same behavior in C++, especially given that such attributes may be used by a C library consumed by a C++ compilation.

llvm-svn: 369033

Backport of #8243

…ores.

This gives library implementers a way to use standards-based attributes that do not conflict with user-defined macros of the same name. Attributes in C2x require this behavior normatively (C2x 6.7.11p4), but there's no reason to not have the same behavior in C++, especially given that such attributes may be used by a C library consumed by a C++ compilation.

llvm-svn: 369033
@Axel-Naumann Axel-Naumann added this to the 6.24/02 milestone May 27, 2021
@Axel-Naumann Axel-Naumann self-assigned this May 27, 2021
@Axel-Naumann Axel-Naumann requested a review from vgvassilev as a code owner May 27, 2021 08:45
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora32/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

@Axel-Naumann Axel-Naumann merged commit f1c508c into root-project:v6-24-00-patches May 31, 2021
@Axel-Naumann Axel-Naumann deleted the clang-attr-double_underscore-2ed4573e8f8619dc67647256ac070bf91f461392-v624 branch May 31, 2021 07:21
@Axel-Naumann Axel-Naumann linked an issue Jun 4, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems compiling root 6.24.00 with gcc 11 on Fedora 34

3 participants