[all-commits] [llvm/llvm-project] 54bd95: [clang-format] distinguish function type casts aft...
Krasimir Georgiev via All-commits
all-commits at lists.llvm.org
Tue Jun 15 01:29:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54bd95cd96bc7305219b594f95d7d1f447ee4c94
https://github.com/llvm/llvm-project/commit/54bd95cd96bc7305219b594f95d7d1f447ee4c94
Author: Krasimir Georgiev <krasimir at google.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] distinguish function type casts after 21c18d5a04316891110cecc2bf37ce51533decba
https://github.com/llvm/llvm-project/commit/21c18d5a04316891110cecc2bf37ce51533decba
improved the detection of multiplication in function call argument lists,
but unintentionally regressed the handling of function type casts (there
were no tests covering those).
This patch improves the detection of function type casts and adds a few tests.
Reviewed By: HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D104209
More information about the All-commits
mailing list