[all-commits] [llvm/llvm-project] 63e76d: [APINotes] Do not crash for C++ operators
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Mon Jul 29 09:31:58 PDT 2024
Branch: refs/heads/users/egorzhdan/apinotes-method-crash
Home: https://github.com/llvm/llvm-project
Commit: 63e76d8e6576f651b7a2aa6358444e82e8a1b662
https://github.com/llvm/llvm-project/commit/63e76d8e6576f651b7a2aa6358444e82e8a1b662
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaAPINotes.cpp
M clang/test/APINotes/Inputs/Headers/Methods.h
Log Message:
-----------
[APINotes] Do not crash for C++ operators
This fixes a crash during `CXXMethod->getName()` in `Sema::ProcessAPINotes`: we were trying to get the name of a C++ method as a string, which fails with an assertion if the name is not a simple identifier.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list