[cfe-users] clang-format question
Mauricio Scaff via cfe-users
cfe-users at lists.llvm.org
Tue Apr 3 15:27:21 PDT 2018
Hi, I'm new to the list.
Started using the code formatter and have a question about it.
With respct to the "spacebeforeparens" key, I couldn't find an option to
let me put an space before function declarations, but not in function
calls. Is there something I'm missing?
I'd like to do like this:
void myfunction (int myparam); // space here
void myfunction (int myparam) { // space here
.
.
.
}
void main (void) {
myfunction(5); // no space here
}
Sorry if I'm missing something obvious.
Thanks,
Mauricio Scaff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180403/f9e4207b/attachment.html>
More information about the cfe-users
mailing list