Skip to content

Commit

Permalink
simde-detect-clang.h: add clang 17 detection (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur authored Feb 18, 2024
1 parent 923f8ac commit 50d98c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simde/simde-detect-clang.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
*/

#if defined(__clang__) && !defined(SIMDE_DETECT_CLANG_VERSION)
# if __has_attribute(nouwtable) // no new warnings in 16.0
# if __has_attribute(unsafe_buffer_usage) // no new warnings in 17.0
# define SIMDE_DETECT_CLANG_VERSION 170000
# elif __has_attribute(nouwtable) // no new warnings in 16.0
# define SIMDE_DETECT_CLANG_VERSION 160000
# elif __has_warning("-Warray-parameter")
# define SIMDE_DETECT_CLANG_VERSION 150000
Expand Down

0 comments on commit 50d98c1

Please sign in to comment.