[PATCH] D123992: [clang-tidy] Fix crash on calls to overloaded operators in llvmlibc-callee-namespace

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 02:30:02 PDT 2022


whisperity created this revision.
whisperity added reviewers: aaron.ballman, njames93, PaulkaToast.
whisperity added a project: clang-tools-extra.
Herald added subscribers: carlosgalvezp, martong, gamesh411, Szelethus, dkrupp, rnkovacs, xazax.hun.
Herald added a project: All.
whisperity requested review of this revision.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123992

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123992.423566.patch
Type: text/x-patch
Size: 5454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220419/9516b962/attachment-0001.bin>


More information about the cfe-commits mailing list