diff --git a/.clang-format b/.clang-format
new file mode 100644
index 00000000..0983e957
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,17 @@
+BasedOnStyle: Webkit
+ColumnLimit: 120
+PointerAlignment: Right
+AlignAfterOpenBracket: DontAlign
+AlignTrailingComments: true
+AlignConsecutiveMacros: Consecutive
+AllowShortFunctionsOnASingleLine: None
+IndentCaseLabels: true
+BreakBeforeBinaryOperators: None
+SpaceBeforeParens: ControlStatements
+SpaceBeforeParens: ControlStatementsExceptControlMacros
+SpacesInCStyleCastParentheses: false
+
+ForEachMacros:
+ - 'DLIST_FOR_EACH_ENTRY'
+ - 'DLIST_FOR_EACH_ENTRY_REVERSE'
+ - 'DLIST_FOR_EACH_ENTRY_SAFE'
\ No newline at end of file
diff --git a/OAT.xml b/OAT.xml
index 71a26d53..c4bddfca 100644
--- a/OAT.xml
+++ b/OAT.xml
@@ -70,6 +70,7 @@ Note:If the text contains special characters, please escape them according to th
+