Heim  >  Fragen und Antworten  >  Hauptteil

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

比如

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

但是我想要

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

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort