Skip to content

clang-format.cmake: don't change spaces after '//' in code comments

Ahmad Samir requested to merge work/ahmad/clang-format-comments into master

For example, if you have: //This is a comment

now clang-format won't change it to: // This is a comment

We're mainly interested in formatting the code, not the comments, so that cuts down on some noise when running clang-format.

CCBUG: 456819

Merge request reports