This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by whisperity on Apr 19 2022, 2:30 AM.

Details

Summary

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.

Diff Detail

Event Timeline

whisperity created this revision.Apr 19 2022, 2:30 AM
whisperity requested review of this revision.Apr 19 2022, 2:30 AM

[NFC] Fix the test.

aaron.ballman accepted this revision.Apr 19 2022, 7:25 AM

LGTM, thanks for the fix!

This revision is now accepted and ready to land.Apr 19 2022, 7:25 AM