FailedChanges

Summary

  1. Restore size of TemplateParameterList after D44352 (details)
  2. Attempt to fix Sphinx build failure, NFC (details)
  3. [ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES (details)
Commit d3a779fe21500457e95c8c4e963638b93e3bcc71 by aaronpuchert
Restore size of TemplateParameterList after D44352

After adding a field of one bit, the bitfield members would take
30+1+1+1 = 33 bits, causing the size of TemplateParameterList to
increase from 16 to 24 bytes on 64-bit systems.

With 29 bits for NumParams we can encode up to half a billion template
parameters, which is almost certainly still enough for anybody.
The file was modifiedclang/include/clang/AST/DeclTemplate.h
Commit da6b3aa4c6bb29a150628ad489274466c6b8ace0 by aaronpuchert
Attempt to fix Sphinx build failure, NFC

A code block wasn't properly introduced.
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-redundant-branch-condition.rst
Commit bef38e86b4e702a0c42e243d323fb7c09875e649 by jrtc27
[ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES

Currently we treat SHT_RISCV_ATTRIBUTES like a normal section and
concatenate all such input sections, yielding invalid output unless only
a single attributes section is present in the input. Instead, pick the
first as with SHT_ARM_ATTRIBUTES. We do not currently need to condition
our behaviour on the contents, unlike Arm. In future, we should both do
stricter validation of the input and merge all sections together to
ensure we have, for example, the full arch string requirement, but this
rudimentary implementation is good enough for most common cases.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D86309
The file was modifiedlld/ELF/SyntheticSections.h
The file was modifiedlld/ELF/InputFiles.cpp
The file was addedlld/test/ELF/riscv-attributes.s