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
[*]
indent_style = tab
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
......@@ -9,6 +9,4 @@ trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
#include <iostream>
int main(int argc, char *argv[])
{
try
{
for (int i = 0; i < argc; i++)
{
int main(int argc, char *argv[]) {
try {
for (int i = 0; i < argc; i++) {
std::cout << argv[i] << std::endl;
}
}
catch (const std::exception &e)
{
} catch (const std::exception &e) {
std::cerr << e.what() << '\n';
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