[all-commits] [llvm/llvm-project] 318bef: [clang-tidy][NFC]refactor matcher for bugprone-opt...

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Mar 10 23:52:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 318bef91eafb7e01be707b9919c36ef424840041
      https://github.com/llvm/llvm-project/commit/318bef91eafb7e01be707b9919c36ef424840041
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/OptionalValueConversionCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC]refactor matcher for bugprone-optional-value-conversion (#130415)

The old `constructFrom` has hidden requirement which TypeMatcher must be used before ArgumentMatcher because there are bind inside.
Inlining this function to make it more intuitive.



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