1. [clang-tidy] New check cppcoreguidelines-prefer-member-initializer (details)
  2. [Statepoints][ISEL] gc.relocate uniquification should be based on SDValue, not IR Value. (details)
  3. [gn build] Port 4fc0214a101 (details)
  4. DWARFYAML::emitDebugSections - remove unnecessary cantFail(success) call. NFCI. (details)
  5. [llvm-readobj/libObject] - Get rid of `FirstSym` argument. NFCI. (details)
  6. Change comments about order of classes in superclass list. (details)
Commit 4fc0214a10140fa77449677e8094ea22d3d17701 by adam.balogh
[clang-tidy] New check cppcoreguidelines-prefer-member-initializer

Finds member initializations in the constructor body which can be placed
into the initialization list instead. This does not only improves the
readability of the code but also affects positively its performance.
Class-member assignments inside a control statement or following the
first control statement are ignored.

Differential Revision:
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init.cpp
The file was addedclang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-prefer-member-initializer.rst
Commit ee86688b81751c57ca5b24e462194ea5522345c4 by dantrushin
[Statepoints][ISEL] gc.relocate uniquification should be based on SDValue, not IR Value.

When exporting statepoint results to virtual registers we try to avoid
generating exports for duplicated inputs. But we erroneously use
IR Value* to check if inputs are duplicated. Instead, we should use
SDValue, because even different IR values can get lowered to the same
I'm adding a (degenerate) test case which emphasizes importance of this
feature for invoke statepoints.
If we fail to export only unique values we will end up with something
like that:

  %1 = COPY %0

  <use of %1>

And when exceptional path is taken, %1 is left uninitialized (COPY is never

Reviewed By: reames

Differential Revision:
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg-details.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
Commit 6d2bf5e3c89b08c64404045640e4a5a2189acbe4 by llvmgnsyncbot
[gn build] Port 4fc0214a101
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cppcoreguidelines/
Commit 82042a2c9b2330cfb4621322474448567c52f7b6 by llvm-dev
DWARFYAML::emitDebugSections - remove unnecessary cantFail(success) call. NFCI.

As mentioned on rG6bb912336804.
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit df3e903655e2499968fc7af64fb5fa52b2ee79bb by grimar
[llvm-readobj/libObject] - Get rid of `FirstSym` argument. NFCI.

We use `FirstSym` argument in `getExtendedSymbolTableIndex` to calculate
a symbol index:

&Sym - &FirstSym

Instead, we could pass the symbol index directly.
This is what this patch does, it allows to simplify another llvm-readobj API.

Differential revision:
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit bd55d5b2a11030dc7a93008275c533bbdb748c72 by paul
Change comments about order of classes in superclass list.
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/include/llvm/TableGen/Record.h