Issue |
142232
|
Summary |
[clang-format] preprocessor directives indentation compatible with Visual Studio Code
|
Labels |
enhancement,
clang-format
|
Assignees |
|
Reporter |
EugeneZelenko
|
It'll be great to have option to count `#` as space for `IndentPPDirectives: AfterHash` mode so formatting will be compatible with Visual Studio Code.
Desired code example:
```
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wshadow"
# pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs