[all-commits] [llvm/llvm-project] 326286: [clang-tidy] Add C++ member function support to cu...

Discookie via All-commits all-commits at lists.llvm.org
Thu Jan 30 02:49:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3262863805d8a1de3e5c104d9daab82bf4a6d8d1
      https://github.com/llvm/llvm-project/commit/3262863805d8a1de3e5c104d9daab82bf4a6d8d1
  Author: Discookie <viktor.cseh at ericsson.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnsafeFunctionsCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnsafeFunctionsCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/unsafe-functions.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unsafe-functions-custom-regex.cpp

  Log Message:
  -----------
  [clang-tidy] Add C++ member function support to custom bugprone-unsafe-functions matches (#117165)

Before, C++ member functions in the format of ``Class instance;
instance.memberfn();`` were unable to be matched.
This PR adds support for this type of call, and it is matched in exactly
the same format as other functions (eg. ``::Class::memberfn`` qualified
name).



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