Skip to content

Instantly share code, notes, and snippets.

@clemensg
Created November 29, 2017 10:41
Show Gist options
  • Save clemensg/6a7d4fa119f59729bc3a3814a26ca10d to your computer and use it in GitHub Desktop.
Save clemensg/6a7d4fa119f59729bc3a3814a26ca10d to your computer and use it in GitHub Desktop.
Bug 34649 - clang-format messes up comment indentations - Problem 3
void main(void)
{
if (1)
{
/* Comment */
#ifdef FOO
printf("bar");
#endif
}
}
@clemensg
Copy link
Author

This problem no longer occurs with clang-format 9.0.0

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment