Skip to content

Commit

Permalink
Revert "test" (KhronosGroup#4974)
Browse files Browse the repository at this point in the history
This reverts commit da215f1.
  • Loading branch information
Keenuts authored Oct 27, 2022
1 parent da215f1 commit b49a2ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
SortIncludes: true
AllowShortIfStatementsOnASingleLine: true
...
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function(spvtools_default_compile_options TARGET)
target_compile_options(${TARGET} PRIVATE ${SPIRV_WARNINGS})

if (${COMPILER_IS_LIKE_GNU})
target_compile_options(${TARGET} PRIVATE -std=c++17 -fno-exceptions)
target_compile_options(${TARGET} PRIVATE -std=c++11 -fno-exceptions)
target_compile_options(${TARGET} PRIVATE
-Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion
-Wno-sign-conversion)
Expand Down
4 changes: 1 addition & 3 deletions source/opt/feature_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ void FeatureManager::RemoveExtension(Extension ext) {
}

void FeatureManager::AddCapability(SpvCapability cap) {
if (capabilities_.Contains(cao))
// toto
return;
if (capabilities_.Contains(cap)) return;

capabilities_.Add(cap);

Expand Down

0 comments on commit b49a2ca

Please sign in to comment.