Changes

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc (details)
  2. [gn build] Port fccd0da5ee6 (details)
Commit fccd0da5ee6f4e337395f287edcf824a009e1b7e by adam.balogh
[clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc
Finds cases where an integer expression is added to the result of a
memory allocation function instead of its argument.
Differential Revision: https://reviews.llvm.org/D71001
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-pointer-arithmetic-in-alloc.rst
The file was addedclang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-pointer-arithmetic-in-alloc.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-pointer-arithmetic-in-alloc.c
Commit 65a31a97b4595c0e75b63c670b1adf8de1c80f4b by llvmgnsyncbot
[gn build] Port fccd0da5ee6
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn