[cfe-dev] C struct in place initialization doesn't use tabs when UseTab = Always
Patryk Małek via cfe-dev
cfe-dev at lists.llvm.org
Fri Aug 18 07:10:28 PDT 2017
Hi all,
I am looking for a solution to my problem with C struct in place
initialization doesn't use tabs when UseTab = Always.
Namely, having a snippet like so:
struct typ {
» int x;
» float f;
};
static const struct typ data = {
* .x = 1,*
* .f = 0.1f,*
};
int main() {}
I will get lines with initialization not indented with tabs but with spaces
instead even though I have UseTab set to Always.
1) Is there a solution for this ATM?
2) If not then where in the code can I look for the relevant snippet so
that I can fiddle with configuration /changing the behavior ?
kind regards,
Patryk Małek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170818/4d72b557/attachment.html>
More information about the cfe-dev
mailing list