Commit adaf79a8 authored by David Gibson's avatar David Gibson

cppmagic: Tweak testcase to work on older clang versions

clang version 3.4, for whatever reason, expands a few of the testcases
in cppmagic with slightly different whitespace from what we expect.  Since
this was changed in later clang versions, it was probably a compiler bug,
but it turns out an extra space in the testcase can make it pass on clang
3.4 as well.  This means we finally have clang builds working in Travis.
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 294fb52e
......@@ -15,7 +15,7 @@ static inline void check1(const char *orig, const char *expand,
#define CHECK1(orig, match) \
check1(#orig, CPPMAGIC_STRINGIFY(orig), match)
#define TESTRECURSE() R CPPMAGIC_DEFER1(_TESTRECURSE)()()
#define TESTRECURSE() R CPPMAGIC_DEFER1(_TESTRECURSE) ()()
#define _TESTRECURSE() TESTRECURSE
#define TESTMAP1(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