Skip to content
Snippets Groups Projects
Commit 8649a886 authored by Brad King's avatar Brad King
Browse files

kwsysPrivate: Protect KWSYS_HEADER macro from clang-format

Do not let clang-format add spaces around the "/" in the macro
definition.

Change-Id: I51dd99b304300b4181c6e35628f3a3c324935b7a
parent a4f5ef79
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@
#include KWSYS_HEADER(Directory.hxx)
#include KWSYS_HEADER(std/vector)
*/
/* clang-format off */
#define KWSYS_HEADER(x) KWSYS_HEADER0(KWSYS_NAMESPACE/x)
/* clang-format on */
#define KWSYS_HEADER0(x) KWSYS_HEADER1(x)
#define KWSYS_HEADER1(x) <x>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment