diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-05 19:21:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-05 19:21:27 +0300 |
commit | ffec86bb62c52665ef6a05770f03ab69fa6bb231 (patch) | |
tree | 6d080aee3dc00c1145b4d009de6e0c1f47366594 /intern/cycles/cmake | |
parent | 3a8d9198b33d9c90abd3a134ee26e2f68ff52002 (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/cmake')
-rw-r--r-- | intern/cycles/cmake/msvc_arch_flags.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 <stdio.h> #include <isa_availability.h> +#include <stdio.h> /* 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; } |