MaskRay added inline comments.

================
Comment at: clang/test/AST/ast-dump-openmp-begin-declare-variant_11.c:2
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify=c_mode   
-ast-dump %s       | FileCheck %s --check-prefix=C
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify=cxx_mode 
-ast-dump %s -x c++| FileCheck %s --check-prefix=CXX
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify=cxx_mode 
-ast-dump %s -x c++ -std=c++14 | FileCheck %s --check-prefix=CXX
 
----------------
aaron.ballman wrote:
> I'm not really keen on this sort of change because it loses test coverage for 
> other language standard versions. We usually try to write our tests to be 
> standard version agnostic and only specify a specific language mode only when 
> absolutely necessary, which doesn't seem to be the case for a lot of the 
> tests in this patch (like this one).
I think we can identify such issues (tests which want to test the latest mature 
standard) and fix them post-transition. This way the transition patch feels 
more isolated and can more easily be reverted.

Not sure whether @junaire wants to work on this...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131464/new/

https://reviews.llvm.org/D131464

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to