Revert "test" (#4974)

This reverts commit da215f10c9.
This commit is contained in:
Nathan Gauër 2022-10-27 14:17:31 +02:00 committed by GitHub
parent da215f10c9
commit b49a2caa7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View File

@ -3,5 +3,4 @@ Language: Cpp
BasedOnStyle: Google BasedOnStyle: Google
DerivePointerAlignment: false DerivePointerAlignment: false
SortIncludes: true SortIncludes: true
AllowShortIfStatementsOnASingleLine: true
... ...

View File

@ -188,7 +188,7 @@ function(spvtools_default_compile_options TARGET)
target_compile_options(${TARGET} PRIVATE ${SPIRV_WARNINGS}) target_compile_options(${TARGET} PRIVATE ${SPIRV_WARNINGS})
if (${COMPILER_IS_LIKE_GNU}) 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 target_compile_options(${TARGET} PRIVATE
-Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion -Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion
-Wno-sign-conversion) -Wno-sign-conversion)

View File

@ -52,9 +52,7 @@ void FeatureManager::RemoveExtension(Extension ext) {
} }
void FeatureManager::AddCapability(SpvCapability cap) { void FeatureManager::AddCapability(SpvCapability cap) {
if (capabilities_.Contains(cao)) if (capabilities_.Contains(cap)) return;
// toto
return;
capabilities_.Add(cap); capabilities_.Add(cap);