[all-commits] [llvm/llvm-project] 9d7623: [clang-tidy] Ensure functions are anchored in the ...

matthew-f via All-commits all-commits at lists.llvm.org
Mon Jul 22 11:27:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d76231fcd3f6ddf9bd6aafe7f143404cad7e4a1
      https://github.com/llvm/llvm-project/commit/9d76231fcd3f6ddf9bd6aafe7f143404cad7e4a1
  Author: matthew-f <matthewf at cat.co.za>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp

  Log Message:
  -----------
  [clang-tidy] Ensure functions are anchored in the global namespace (for cert-err-33) (#99380)

The regular expressions match functions that aren't anchored in the
global namespace. For example `::remove` matches any object with a
`removeXyz` method. This change is to remove these false positives



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