[all-commits] [llvm/llvm-project] 2aa67b: [clang-format] Restrict the special handling for K...
Owen via All-commits
all-commits at lists.llvm.org
Mon Sep 13 05:35:33 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 2aa67b31faf087cd5a6df8aa4262b17bdc41bba7
https://github.com/llvm/llvm-project/commit/2aa67b31faf087cd5a6df8aa4262b17bdc41bba7
Author: owenca <owenpiano at gmail.com>
Date: 2021-09-13 (Mon, 13 Sep 2021)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Restrict the special handling for K&R C to C/C++
Commits 58494c856a15, f6bc614546e1, and 0fc27ef19670 added special
handlings for K&R C function definitions and caused some
JavaScript/TypeScript regressions which were addressed in D107267,
D108538, and D108620. This patch would have prevented these known
regressions and will fix any unknown ones.
Differential Revision: https://reviews.llvm.org/D109582
(cherry picked from commit 3205dd3d59b3cc36f96b7eff6387de8d2f42825f)
More information about the All-commits
mailing list