Function and variable names are not detected correctly when there is an
__attribute__((x)) preceding the name.
Fixes Github Issue #64137
https://github.com/llvm/llvm-project/issues/64137
Differential D156370
[clang-format] Fix bug with parsing of function/variable names. gedare on Jul 26 2023, 2:21 PM. Authored by
Details Function and variable names are not detected correctly when there is an Fixes Github Issue #64137
Diff Detail
Event TimelineComment Actions Does this result in a different annotation? Could you add a test for that?
Comment Actions If I understand you correctly, it does, for example: Without the change: With the change: I don't how to test for that. Comment Actions Yes that stuff. Tests are in: https://github.com/llvm/llvm-project/blob/main/clang/unittests/Format/TokenAnnotatorTest.cpp
|