Skip to content

Commit 88570f5

Browse files
authored
Merge pull request #8 from emrekovanci:develop
Develop
2 parents 1bbfd38 + ea74cc8 commit 88570f5

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Project
55
Language: Cpp
6-
Standard: c++17
6+
Standard: c++20
77
ColumnLimit: 120
88

99
# Indentation

.clang-tidy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Checks: >
55
-cppcoreguidelines-avoid-magic-numbers,
66
-fuchsia-*,
77
fuchsia-multiple-inheritance,
8+
-google-readability-todo,
89
-hicpp-uppercase-literal-suffix,
10+
-llvm-header-guard,
11+
-llvm-include-order,
912
-llvmlibc-*,
1013
-misc-non-private-member-variables-in-classes,
1114
-modernize-use-nodiscard,

.clangd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
CompileFlags:
44
Add:
55
- "-ferror-limit=0"
6-
7-
# if you are using VSCode and CMake Tools(provided by Microsoft) add
8-
# "cmake.copyCompileCommands": "${workspaceFolder}/.vscode/compile_commands.json" to VSCode settings
9-
# because CompilationDatabase field in .clangd doesn't support multiple folders to search
106
CompilationDatabase: .vscode
117

128
Style:
@@ -21,6 +17,9 @@ InlayHints:
2117
DeducedTypes: Yes
2218
TypeNameLimit: 24
2319

20+
Hover:
21+
ShowAKA: Yes
22+
2423
Diagnostics:
2524
UnusedIncludes: Strict
2625
MissingIncludes: None

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"*.clang-tidy": "yaml",
55
"*.clang-format": "yaml",
66
"*.clangd": "yaml",
7+
"*.codespellrc": "ini",
78
},
89
"files.exclude": {
910
".cache": true,

cmake/Platform/Common/CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"hidden": true,
1313
"cacheVariables": {
1414
"CMAKE_CXX_EXTENSIONS": "OFF",
15-
"CMAKE_CXX_STANDARD": "17",
15+
"CMAKE_CXX_STANDARD": "20",
1616
"CMAKE_CXX_STANDARD_REQUIRED": "ON"
1717
}
1818
},

library/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_library(Core
55
src/Core/Lib.cpp
66
)
77
target_include_directories(Core PUBLIC "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/library/include>")
8-
target_compile_features(Core PUBLIC cxx_std_17)
8+
target_compile_features(Core PUBLIC cxx_std_20)
99

1010
include(GenerateExportHeader)
1111
generate_export_header(Core

library/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)
77

88
add_executable(CoreTests Tests.cpp)
99
target_link_libraries(CoreTests PRIVATE Core Catch2::Catch2WithMain)
10-
target_compile_features(CoreTests PRIVATE cxx_std_17)
10+
target_compile_features(CoreTests PRIVATE cxx_std_20)
1111

1212
# ---- Tests ----
1313

0 commit comments

Comments
 (0)