Skip to content

Commit 41980fb

Browse files
committed
Trying to speed up clang test compilation
1 parent 4fac6a6 commit 41980fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_grapheme.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ namespace {
104104
CHECK(res);
105105
}
106106

107+
#if defined(__GNUC__)
108+
[[gnu::noinline]]
109+
#elif defined(__MSVC__)
110+
[[msvc::noinline]]
111+
#endif
107112
void check_graphemes(std::u32string_view src, const std::vector<std::u32string> & expected, std::source_location loc = std::source_location::current())
108113
{
109114
check_graphemes_range(src, expected, loc);

0 commit comments

Comments
 (0)