aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-10-30 11:19:07 -0400
committerLouis Dionne <ldionne@apple.com>2020-10-30 12:48:05 -0400
commitc479e0c99459e4c5596c2a22829d0937224df0bf (patch)
treef960756f209bcfd42910c4818f0cde54f4ea5a61 /llvm/utils/FileCheck/FileCheck.cpp
parent1d7786d45f48b4793baf4e4b903c4476f56ffc94 (diff)
downloadllvm-c479e0c99459e4c5596c2a22829d0937224df0bf.zip
llvm-c479e0c99459e4c5596c2a22829d0937224df0bf.tar.gz
llvm-c479e0c99459e4c5596c2a22829d0937224df0bf.tar.bz2
[libc++] NFC: Fix several GCC warnings in the test suite
- Several -Wshadow warnings - Several places where we did not initialize our base class explicitly - Unused variable warnings - Some tautological comparisons - Some places where we'd pass null arguments to functions expecting non-null (in unevaluated contexts) - Add a few pragmas to turn off spurious warnings - Fix warnings about declarations that don't declare anything - Properly disable deprecation warnings in ext/ tests (the pragmas we were using didn't work on GCC) - Disable include_as_c.sh.cpp because GCC complains about C++ flags when compiling as C. I couldn't find a way to fix this one properly, so I'm disabling the test. This isn't great, but at least we'll be able to enable warnings in the whole test suite with GCC.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions