When using with clang-tidy 17 Node.getAttrName() sometimes returns a
nullptr. This caused segfaults in the CI.
Details
Details
- Reviewers
philnik - Group Reviewers
Restricted Project - Commits
- rG81fb5a0e1cf8: [libc++] Fixes clang-tidy plugin for clang-tidy 17.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Are you sure this is expected? I can't really imagine a scenario where an attribute doesn't have a name. Clang itself also seems to assume that the pointer is non-null, since it just dereferences it instantly in quite a few places.
@philnik here the original code has a test too.