[all-commits] [llvm/llvm-project] 35f7dd: [clang-format][NFC] Fix a bug in setting type Func...
Owen via All-commits
all-commits at lists.llvm.org
Fri Feb 4 11:37:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35f7dd601d33219fafa2c0d308e187df3e36847a
https://github.com/llvm/llvm-project/commit/35f7dd601d33219fafa2c0d308e187df3e36847a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2022-02-04 (Fri, 04 Feb 2022)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format][NFC] Fix a bug in setting type FunctionLBrace
The l_brace token in a macro definition should not be set to
TT_FunctionLBrace.
This patch could have fixed #42087.
Differential Revision: https://reviews.llvm.org/D118969
More information about the All-commits
mailing list