Commit 8649a886 authored by Brad King's avatar Brad King

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
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment