[all-commits] [llvm/llvm-project] 0993d9: [APINotes] Do not crash for C++ operators
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Mon Jul 29 05:02:06 PDT 2024
Branch: refs/heads/users/egorzhdan/apinotes-method-crash
Home: https://github.com/llvm/llvm-project
Commit: 0993d9e4b1161b3ec38309f2b1f00d61da034006
https://github.com/llvm/llvm-project/commit/0993d9e4b1161b3ec38309f2b1f00d61da034006
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