This shouldn't really be allowed, but it comes up in real code (see PR20746), and as long as the decl hasn't been used there's no technical difficulty in supporting it, so we can just downgrade the error to a warning.
Details
Details
- Reviewers
rnk - Commits
- rG2bf62cbd91fb: Merging r216619: --------------------------------------------------------------…
rGdd96db2c034c: Allow adding dll attributes on certain redecls with a warning if the decl…
rC216619: Allow adding dll attributes on certain redecls with a warning if the decl…
rL216619: Allow adding dll attributes on certain redecls with a warning if the decl…
Diff Detail
Diff Detail
- Repository
- rL LLVM