[libc++] Fixes clang-tidy plugin for clang-tidy 17.
authorMark de Wever <koraq@xs4all.nl>
Tue, 23 May 2023 15:22:12 +0000 (17:22 +0200)
committerMark de Wever <koraq@xs4all.nl>
Wed, 24 May 2023 16:07:12 +0000 (18:07 +0200)
commit81fb5a0e1cf8550ad20700ea1461030de0bc052d
tree821ae27d498ef7e1a200b66544788f7828946c95
parent94daee2e737cec1157c8a2b25846a40251271b9c
[libc++] Fixes clang-tidy plugin for clang-tidy 17.

When using with clang-tidy 17 Node.getAttrName() sometimes returns a
nullptr. This caused segfaults in the CI.

Reviewed By: philnik, #libc

Differential Revision: https://reviews.llvm.org/D151224
libcxx/test/tools/clang_tidy_checks/uglify_attributes.cpp