[all-commits] [llvm/llvm-project] 9a8b04: [clang-tidy] llvm-twine-local ignores parameters

Nathan James via All-commits all-commits at lists.llvm.org
Mon Jun 22 10:26:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a8b0411448062e7231a0ee26bd14a3d1c097e9e
      https://github.com/llvm/llvm-project/commit/9a8b0411448062e7231a0ee26bd14a3d1c097e9e
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/llvm-twine-local.cpp

  Log Message:
  -----------
  [clang-tidy] llvm-twine-local ignores parameters

Ignore paramater declarations of type `::llvm::Twine`, These don't suffer the same use after free risks as local twines.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82281




More information about the All-commits mailing list