aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLakshman Annadorai <lakshmana@google.com>2021-01-15 12:13:41 -0800
committerLakshman Annadorai <lakshmana@google.com>2021-02-03 22:11:19 +0000
commit817771e6d94cbf49ae10d23eb79a79461c804e8e (patch)
treea9c5217df9f2c6ee38bc56edb9855ea0b0aac6fd
parentc6c05f3f920f01cb7f8a8c66e576c14768f8ab2d (diff)
downloadCar-817771e6d94cbf49ae10d23eb79a79461c804e8e.tar.gz
Categorize sysprop header file as android repo header in .clang-format
Test: Formats the C++ as expected. Bug: 177678702 Change-Id: I2886dafaee6d6ff48575e489d5dfb02340fd6013 Merged-In: I2886dafaee6d6ff48575e489d5dfb02340fd6013 (cherry picked from commit 76f718600ea968d6cde07f3e3ae6ab143296deeb)
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 3380a2a464..30e9edabbf 100644
--- a/.clang-format
+++ b/.clang-format
@@ -31,7 +31,7 @@ IncludeCategories:
Priority: 3
- Regex: '^<[[:alnum:]_]+>'
Priority: 4
- - Regex: '^<.*/[[:alnum:]_]+\.h>'
+ - Regex: '^<.*/[[:alnum:]_]+\.h>$|^<[[:alnum:]_]+\.sysprop\.h>$'
Priority: 2
- Regex: '^".*'
Priority: 1