From ffec86bb62c52665ef6a05770f03ab69fa6bb231 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 6 Sep 2020 02:21:27 +1000 Subject: Cleanup: clang-format --- intern/cycles/cmake/msvc_arch_flags.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'intern/cycles/cmake') diff --git a/intern/cycles/cmake/msvc_arch_flags.c b/intern/cycles/cmake/msvc_arch_flags.c index 79dbd3b87ac..22fcc2c437a 100644 --- a/intern/cycles/cmake/msvc_arch_flags.c +++ b/intern/cycles/cmake/msvc_arch_flags.c @@ -14,25 +14,25 @@ * limitations under the License. */ -#include #include +#include /* The MS CRT defines this */ extern int __isa_available; -const char* get_arch_flags() +const char *get_arch_flags() { - if (__isa_available >= __ISA_AVAILABLE_AVX2) { + if (__isa_available >= __ISA_AVAILABLE_AVX2) { return "/arch:AVX2"; } - if (__isa_available >= __ISA_AVAILABLE_AVX) { + if (__isa_available >= __ISA_AVAILABLE_AVX) { return "/arch:AVX"; } - return ""; + return ""; } int main() { - printf("%s\n", get_arch_flags()); - return 0; + printf("%s\n", get_arch_flags()); + return 0; } -- cgit v1.2.3