[clang] [clang][test] add TestLanguage.def to specify all tested language versions (PR #94243)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 07:48:11 PDT 2024
================
@@ -1224,7 +1224,7 @@ TEST_P(ASTMatchersTest, CastExpression_MatchesImplicitCasts) {
}
TEST_P(ASTMatchersTest, CastExpr_DoesNotMatchNonCasts) {
- if (GetParam().Language == Lang_C89 || GetParam().Language == Lang_C99) {
+ if (GetParam().isC()) {
----------------
AaronBallman wrote:
C99OrEarlier, but good catch!
https://github.com/llvm/llvm-project/pull/94243
More information about the cfe-commits
mailing list