Skip to content

Commit

Permalink
Tests: Update ClangPlugins to use C++23 when running Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 authored and ADKaster committed May 23, 2024
1 parent a98ad19 commit 573bbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ClangPlugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include(AddLLVM)
find_package(Python3 REQUIRED COMPONENTS Interpreter)

get_property(CLANG_PLUGINS_ALL_COMPILE_OPTIONS GLOBAL PROPERTY CLANG_PLUGINS_ALL_COMPILE_OPTIONS)
list(APPEND CLANG_PLUGINS_ALL_COMPILE_OPTIONS -std=c++20 -Wno-user-defined-literals -Wno-literal-range)
list(APPEND CLANG_PLUGINS_ALL_COMPILE_OPTIONS -std=c++23 -Wno-user-defined-literals -Wno-literal-range)

get_property(CLANG_PLUGINS_INCLUDE_DIRECTORIES TARGET AK PROPERTY INCLUDE_DIRECTORIES)
list(APPEND CLANG_PLUGINS_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})
Expand Down

0 comments on commit 573bbd4

Please sign in to comment.