[all-commits] [llvm/llvm-project] a85286: [clang-format] Fix a bug in parsing function/varia...
Gedare Bloom via All-commits
all-commits at lists.llvm.org
Mon Nov 13 19:35:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a852869398af71141d9422ab3e53a11433a3791f
https://github.com/llvm/llvm-project/commit/a852869398af71141d9422ab3e53a11433a3791f
Author: Gedare Bloom <gedare at rtems.org>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in parsing function/variable names
Function and variable names are not detected when there is a
__attribute__((x)) preceding the name.
Fixes #64137.
Differential Revision: https://reviews.llvm.org/D156370
More information about the All-commits
mailing list