Commit a5c2ac0b authored by nagayama15's avatar nagayama15

Add the setting file of clang-format.

parent 625f426a
BasedOnStyle: LLVM
IndentWidth: 4
NamespaceIndentation: All
root = true root = true
[*] [*]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
...@@ -9,6 +9,4 @@ trim_trailing_whitespace = true ...@@ -9,6 +9,4 @@ trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
[*.md] [*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false trim_trailing_whitespace = false
/build/ /build/
/.vscode/
#include <iostream> #include <iostream>
int main(int argc, char *argv[]) int main(int argc, char *argv[]) {
{ try {
try for (int i = 0; i < argc; i++) {
{
for (int i = 0; i < argc; i++)
{
std::cout << argv[i] << std::endl; std::cout << argv[i] << std::endl;
} }
} } catch (const std::exception &e) {
catch (const std::exception &e)
{
std::cerr << e.what() << '\n'; std::cerr << e.what() << '\n';
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment