diff options
author | cor3ntin <corentinjabot@gmail.com> | 2023-09-19 23:41:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-19 23:41:51 +0200 |
commit | 0677d7cd8c1549b04ae02e0a878faabf17f8999f (patch) | |
tree | d2c74800385e6956e495669959d648b867cbac10 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | d8873df4dc74cdcbbfd3334657daf9fedfaab951 (diff) | |
download | llvm-0677d7cd8c1549b04ae02e0a878faabf17f8999f.zip llvm-0677d7cd8c1549b04ae02e0a878faabf17f8999f.tar.gz llvm-0677d7cd8c1549b04ae02e0a878faabf17f8999f.tar.bz2 |
[Clang] Static member initializers are not immediate escalating context. (#66021)
Per CWG2760, default members initializers should be consider part the
body of constructors, which mean they are evaluated in an immediate
escalating context.
However, this does not apply to static members.
This patch produces some extraneous diagnostics, unfortunately we do not
have a good way to report an error back to the initializer and this is a
pre existing issue
Fixes #65985
Fixes #66562
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions