[all-commits] [llvm/llvm-project] f48348: [clang-tidy] Fix crash on calls to overloaded oper...

Whisperity via All-commits all-commits at lists.llvm.org
Wed Apr 20 01:15:59 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4834815f439d4b874e4b501f27a909f59f6a426
  Author: Whisperity <whisperity at gmail.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/llvmlibc-callee-namespace.cpp

  Log Message:
  [clang-tidy] Fix crash on calls to overloaded operators in `llvmlibc-callee-namespace`

The routine that facilitated symbols to be explicitly allowed asked
the name of the called function, which resulted in a crash when the
check was accidentally run on non-trivial C++ code.

Differential Revision: http://reviews.llvm.org/D123992

Reviewed By: aaron.ballman

More information about the All-commits mailing list