[all-commits] [llvm/llvm-project] d4a458: [clang-tidy] Ignore expresions in unevaluated cont...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sun Mar 24 11:52:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4a4585165f5c6ca8c42920b70e1b47696ff1172
      https://github.com/llvm/llvm-project/commit/d4a4585165f5c6ca8c42920b70e1b47696ff1172
  Author: Piotr Zegar <piotr.zegar at nokia.com>
  Date:   2024-03-24 (Sun, 24 Mar 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/IncDecInConditionsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/inc-dec-in-conditions.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore expresions in unevaluated context in bugprone-inc-dec-in-conditions (#85849)

Skip checking for references to variable in unevaluated context, like
decltype, static_assert and so on.

Closes #85838



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list