diff options
author | Kamau Bridgeman <kamau.bridgeman@ibm.com> | 2023-12-05 13:29:46 -0500 |
---|---|---|
committer | Kamau Bridgeman <kamau.bridgeman@ibm.com> | 2023-12-05 13:50:52 -0500 |
commit | 3d21b5603835fcd1de8d0565c3324e36fed21ff1 (patch) | |
tree | f404fd5b34391bfd8d60454334ecdab7aa64ad7e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 33af16f580b168c99a61db118ef59aaf6dd1488f (diff) | |
download | llvm-3d21b5603835fcd1de8d0565c3324e36fed21ff1.zip llvm-3d21b5603835fcd1de8d0565c3324e36fed21ff1.tar.gz llvm-3d21b5603835fcd1de8d0565c3324e36fed21ff1.tar.bz2 |
[GTest][c++17] Silence warnings when building GTest with gcc-toolset-12
This change fixes a build break introduced by aafad2d(#70353) on
the clang-ppc64le-rhel build bot. If the third-party Google Test suite
is built using gcc-toolset-12, the implementation of std::stable_sort in
the toolchain will use a get_temporary_buffer declaration that is marked
_GLIBCXX17_DEPRECATED. This change adds -Wno-deprecated-declarations to
the GTest flags if the toolchain is detected in the build compiler on linux.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions