[all-commits] [llvm/llvm-project] 0fc27e: [clang-format] handle trailing comments in functio...
Krasimir Georgiev via All-commits
all-commits at lists.llvm.org
Wed Aug 11 23:56:55 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fc27ef19670676689d3317948c81eb171bb25f8
https://github.com/llvm/llvm-project/commit/0fc27ef19670676689d3317948c81eb171bb25f8
Author: Krasimir Georgiev <krasimir at google.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] handle trailing comments in function definition detection
A follow-up to
https://github.com/llvm/llvm-project/commit/f6bc614546e169bb1b17a29c422ebace038e6c62
where we handle the case where the semicolon is followed by a trailing
comment.
Reviewed By: MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D107907
More information about the All-commits
mailing list