diff options
author | Egor Zhdan <e_zhdan@apple.com> | 2024-07-29 18:40:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 18:40:01 +0100 |
commit | c66d25d1429fbf49c97ee9cd0195246642178cb7 (patch) | |
tree | 129acc3eecf156fb43e1604d16425ed11f568784 /clang/lib/Lex/Preprocessor.cpp | |
parent | 2f3ae2f625588ea5eb1393db10b83e9e18380770 (diff) | |
download | llvm-c66d25d1429fbf49c97ee9cd0195246642178cb7.zip llvm-c66d25d1429fbf49c97ee9cd0195246642178cb7.tar.gz llvm-c66d25d1429fbf49c97ee9cd0195246642178cb7.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions