[all-commits] [llvm/llvm-project] efeb54: [clang-format] Add common attribute macros to Goog...
Ilya Biryukov via All-commits
all-commits at lists.llvm.org
Fri Dec 22 06:07:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efeb546865c233dfa7706ee0316c676de9f69897
https://github.com/llvm/llvm-project/commit/efeb546865c233dfa7706ee0316c676de9f69897
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2023-12-22 (Fri, 22 Dec 2023)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add common attribute macros to Google style (#76239)
We have found that 199fc973ced20016b04ba540cf63a1d4914fa513 regresses
formatting of our codebases because we do not properly configure the
names of attribute macros.
`GUARDED_BY` and `ABSL_GUARDED_BY` are very commoon in Google codebases
so it is reasonable to include them by default to avoid the need for
extra configuration in every Google repository.
More information about the All-commits
mailing list