If clang-format is unable to parse the .clang-format file it falls back to the LLVM style. On the command line this is obvious to the user as a helpful error message like the following is printed:
YAML:20:23: error: unknown enumerated scalar
NamespaceIndentation: Never
^~~~~
Users of ClangFormat-Xcode don't get to see this message. They just notice that their code is formatted in a weird way without any indication why this happend.
ClangFormat-Xcode should present the user with the error message so that the user can fix the .clang-format file.
If clang-format is unable to parse the .clang-format file it falls back to the LLVM style. On the command line this is obvious to the user as a helpful error message like the following is printed:
Users of ClangFormat-Xcode don't get to see this message. They just notice that their code is formatted in a weird way without any indication why this happend.
ClangFormat-Xcode should present the user with the error message so that the user can fix the .clang-format file.