Home  >  Q&A  >  body text

c++ - clang-format 如何让函数注释缩进?

比如

int main()
// this is the main function
{
    // ...
    return 0;
}

但是我想要

int main()
    // this is the main function
{
    // ...
    return 0;
}
阿神阿神2713 days ago514

reply all(0)I'll reply

No reply
  • Cancelreply