clang-format: Allow short functions on a single line.
Before this change, clang-format only allows empty functions on a
single line. After this change, short functions on a single line is
also allowed. This aligns with the google3 style guide and does not
violate go/artstyle.
Bug: 181877164
Test: N/A
Change-Id: Icb5e2242d1f2fba8e065616d42ce8c30136a196b
diff --git a/.clang-format b/.clang-format
index 95ce962..0d6a160 100644
--- a/.clang-format
+++ b/.clang-format
@@ -7,7 +7,6 @@
AlignConsecutiveMacros: AcrossComments
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
-AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AttributeMacros: ['__', 'NO_RETURN']
@@ -22,4 +21,4 @@
DerivePointerAlignment: false
FixNamespaceComments: true
PointerAlignment: Left
-TabWidth: 2
\ No newline at end of file
+TabWidth: 2