-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
Description
Bugzilla Link | 17362 |
Resolution | FIXED |
Resolved on | Jan 19, 2018 09:47 |
Version | trunk |
OS | All |
CC | @aardappel,@catskul,@gnzlbg,@zmodem,@jbreitbart |
Extended Description
clang-format just puts all directives at line start.
But I want to have:
#ifdef _MSC_VER
#pragma warning (push, 0)
...
#endif
while some people seem to like:
#if ...
define ...
#endif
Also I indent stuff like #pragmas (OpenMP for example) in the code while I always put typical #ifs etc. to switch code at line start.
Haven't tested that yet, just came to my mind.