Gauthier Fleutot Östervall
Gauthier Fleutot Östervall
Good to know. Would it be viable for the future, to make uncrustify understand this by parsing the typedefs? I suppose it could be a whole can of worms.
@guy-maurel This works. I think the usual types in stdint.h should not need to be added manually. `bool` seems to be there already. Right now I have this at the...
Another example of something that seems to be missing: ``` int main() { i2c_config_init( &context, &(i2c_config_t) { .scl = { .pin = RTC_SCL, .pull = GPIO_PULL_NONE }, .sda = {...
@alexhenrie It would possibly work for me personally, but I would need to get the rest of the team on that. I don't think I can do that :)
@alexhenrie And I still want the closing parens of a function call to align to the call: ``` function_call( many, parameters, that, do, beautiful, things ); ``` This is akin...
Sorry, my comment about the function is not a problem in itself, it was just to say that I probably don't want to change the flags as suggested by alexhenrie.
The example source file (github made me add the txt extension): [bool_align.c.txt](https://github.com/uncrustify/uncrustify/files/8160835/bool_align.c.txt) The debug file: [p.txt](https://github.com/uncrustify/uncrustify/files/8160837/p.txt) Uncrustify_d-0.74.0-225-8edf48ad (current master) 
I expect unchanged indentation of `&& qwer`, since it is a continuation (I'm not sure it's the right term). In essence, I want a block with newlines to always indent...
Tried, reporting as working, thanks! But I still don't understand what this does, if not that: ``` // How to indent a Boolean operator when inside parentheses. // 0: Indent...
For the record: I just used this with success. I think it should be merged.