SuccessChanges

Summary

  1. [analyzer] [NFC] Introduce refactoring of PthreadLockChecker (details)
  2. [InstCombine] add bitwise logic fold tests for D86395; NFC (details)
  3. Add a new altera check for structure packing and alignment. (details)
  4. [clang] Limit the maximum level of fold-expr expansion. (details)
  5. [mlir][VectorOps] Fix more GCC5 weirdness (details)
Commit e67405141836fcd88183863758eeb42f32e847a6 by dpetrov
[analyzer] [NFC] Introduce refactoring of PthreadLockChecker

Change capitalization of some names due to LLVM naming rules.
Change names of some variables to make them more speaking.
Rework similar bug reports into one common function.

Prepare code for the next patches to reduce unrelated changes.

Differential Revision: https://reviews.llvm.org/D87138
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp (diff)
Commit 4964d75d7078b932ac6b17c1990adaa6eada75c1 by spatel
[InstCombine] add bitwise logic fold tests for D86395; NFC
The file was modifiedllvm/test/Transforms/InstCombine/xor.ll (diff)
Commit 156b127945a8c923d141e608b7380427da024376 by aaron
Add a new altera check for structure packing and alignment.

The altera struct pack align lint check finds structs that are inefficiently
packed or aligned and recommends packing/aligning of the structs using the
packed and aligned attributes as needed in a warning.
The file was addedclang-tools-extra/clang-tidy/altera/StructPackAlignCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt (diff)
The file was addedclang-tools-extra/docs/clang-tidy/checks/altera-struct-pack-align.rst
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyForceLinker.h (diff)
The file was addedclang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst (diff)
The file was addedclang-tools-extra/test/clang-tidy/checkers/altera-struct-pack-align.cpp
The file was addedclang-tools-extra/clang-tidy/altera/CMakeLists.txt
The file was modifiedclang-tools-extra/docs/clang-tidy/index.rst (diff)
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst (diff)
Commit 9c9974c3ccb6468cc83f759240293538cf123fcd by hokein.wu
[clang] Limit the maximum level of fold-expr expansion.

Introduce a new diagnostic, and respect the bracket-depth (256) by default.

Differential Revision: https://reviews.llvm.org/D86936
The file was modifiedclang/lib/Sema/TreeTransform.h (diff)
The file was addedclang/test/SemaCXX/fold_expr_expansion_limit.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
Commit 51d30c3429fa0f46bf8c0e4a38840952c11be4f9 by benny.kra
[mlir][VectorOps] Fix more GCC5 weirdness

VectorToSCF.cpp:515:47: error: specialization of 'template<class TransferOpTy> mlir::LogicalResult mlir::VectorTransferRewriter<TransferOpTy>::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&) const' in different namespace [-fpermissive]
The file was modifiedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp (diff)