Skip to content

Commit 6811488

Browse files
authored
[CI] Reinstate deprecated-declarations warning as error (#1609)
This reverts commit 55d1de8. Now that the last use of the deprecated `getPointerElementType` has been removed, treat uses of deprecated functions as errors again.
1 parent e3cd296 commit 6811488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-out-of-tree-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
mkdir build && cd build
7777
cmake ${{ github.workspace }}/SPIRV-LLVM-Translator \
7878
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
79-
-DCMAKE_CXX_FLAGS="-Werror -Wno-error=deprecated-declarations" \
79+
-DCMAKE_CXX_FLAGS="-Werror" \
8080
-DLLVM_INCLUDE_TESTS=ON \
8181
-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-${{ env.LLVM_VERSION }}/build/utils/lit/lit.py" \
8282
-DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \

0 commit comments

Comments
 (0)