[all-commits] [llvm/llvm-project] 19d7a0: [clang-tidy] [bugprone-assert-side-effect] Ignore ...

Zinovy Nis via All-commits all-commits at lists.llvm.org
Tue Jan 25 10:07:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19d7a0b47b6849923576845f87a3278e012e049b
      https://github.com/llvm/llvm-project/commit/19d7a0b47b6849923576845f87a3278e012e049b
  Author: Zinovy Nis <zinovy.nis at gmail.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone-assert-side-effect.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-assert-side-effect.cpp

  Log Message:
  -----------
  [clang-tidy] [bugprone-assert-side-effect] Ignore list for functions/methods

A semicolon-separated list of the names of functions or methods to be considered as not having side-effects was added for bugprone-assert-side-effect. It can be used to exclude methods like iterator::begin/end from being considered as having side-effects.

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




More information about the All-commits mailing list