Loading vulkan/vkjson/vkjson.cc +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ namespace { /* * Annotation to tell clang that we intend to fall through from one case to * another in a switch. Sourced from android-base/macros.h. */ #define FALLTHROUGH_INTENDED [[clang::fallthrough]] inline bool IsIntegral(double value) { #if defined(ANDROID) // Android NDK doesn't provide std::trunc yet Loading vulkan/vkjson/vkjson.h +0 −6 Original line number Diff line number Diff line Loading @@ -33,12 +33,6 @@ #undef max #endif /* * Annotation to tell clang that we intend to fall through from one case to * another in a switch. Sourced from android-base/macros.h. */ #define FALLTHROUGH_INTENDED [[clang::fallthrough]] struct VkJsonLayer { VkLayerProperties properties; std::vector<VkExtensionProperties> extensions; Loading Loading
vulkan/vkjson/vkjson.cc +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ namespace { /* * Annotation to tell clang that we intend to fall through from one case to * another in a switch. Sourced from android-base/macros.h. */ #define FALLTHROUGH_INTENDED [[clang::fallthrough]] inline bool IsIntegral(double value) { #if defined(ANDROID) // Android NDK doesn't provide std::trunc yet Loading
vulkan/vkjson/vkjson.h +0 −6 Original line number Diff line number Diff line Loading @@ -33,12 +33,6 @@ #undef max #endif /* * Annotation to tell clang that we intend to fall through from one case to * another in a switch. Sourced from android-base/macros.h. */ #define FALLTHROUGH_INTENDED [[clang::fallthrough]] struct VkJsonLayer { VkLayerProperties properties; std::vector<VkExtensionProperties> extensions; Loading