We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 072c35c + f591be7 commit 94b29e5Copy full SHA for 94b29e5
2 files changed
vulkan/vkjson/vkjson.cc
@@ -38,6 +38,12 @@
38
39
namespace {
40
41
+/*
42
+ * Annotation to tell clang that we intend to fall through from one case to
43
+ * another in a switch. Sourced from android-base/macros.h.
44
+ */
45
+#define FALLTHROUGH_INTENDED [[clang::fallthrough]]
46
+
47
inline bool IsIntegral(double value) {
48
#if defined(ANDROID)
49
// Android NDK doesn't provide std::trunc yet
vulkan/vkjson/vkjson.h
@@ -33,12 +33,6 @@
33
#undef max
34
#endif
35
36
-/*
37
- * 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;
0 commit comments