clang-format see the disable: in __pragma(warning(disable:)) as ObjectiveC method call
Remove any line starting with # or __pragma line from being part of the ObjectiveC guess
Differential D92922
[clang-format] PR42434 Remove preprocessor and pragma lines from ObjectiveC guess MyDeveloperDay on Dec 9 2020, 2:06 AM. Authored by
Details clang-format see the disable: in __pragma(warning(disable:)) as ObjectiveC method call Remove any line starting with # or __pragma line from being part of the ObjectiveC guess
Diff Detail
Event Timeline
|
Maybe you should also handle MS-specific _Pragma?
https://docs.microsoft.com/en-us/cpp/preprocessor/pragma-directives-and-the-pragma-keyword?view=msvc-160