From: Jacob Lifshay Date: Mon, 4 Sep 2017 03:56:41 +0000 (-0700) Subject: change macro names to match project name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bbc138e330f837858afccb50cf167abf0729793;p=kazan.git change macro names to match project name --- diff --git a/src/util/string_view.h b/src/util/string_view.h index 1b278d3..9bb5e17 100644 --- a/src/util/string_view.h +++ b/src/util/string_view.h @@ -460,7 +460,7 @@ constexpr bool operator>(basic_string_view a, return a.compare(b) > 0; } -#define QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR(...) \ +#define VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR(...) \ template \ bool operator==(__VA_ARGS__) noexcept \ { \ @@ -503,7 +503,7 @@ constexpr bool operator>(basic_string_view a, static_cast>(b)); \ } -#define QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR(...) \ +#define VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR(...) \ template \ bool operator==(__VA_ARGS__) noexcept \ { \ @@ -546,18 +546,18 @@ constexpr bool operator>(basic_string_view a, static_cast>(b)); \ } -QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR( +VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR( const Char_type *a, basic_string_view b) -QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR( +VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR( basic_string_view a, const Char_type *b) -QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR( +VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR( basic_string_view a, std::basic_string b) -QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR( +VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR( std::basic_string a, basic_string_view b) -#undef QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR -#undef QUICK_SHELL_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR +#undef VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_NO_ALLOCATOR +#undef VULKAN_CPU_UTIL_STRING_VIEW_GENERATE_EXTRA_COMPARE_OPERATORS_WITH_ALLOCATOR template std::basic_ostream &operator<<(