[PATCH] D109366: [OpenCL] Tests C++ for OpenCL version macros

2021-09-14 Thread Justas Janickas via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGad88632b6503: [OpenCL] Tests C++ for OpenCL version macros (authored by Topotuna). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109366/new/

[PATCH] D109366: [OpenCL] Tests C++ for OpenCL version macros

2021-09-10 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land. LGTM! Thanks CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109366/new/ https://reviews.llvm.org/D109366 ___ cfe-commits mailing

[PATCH] D109366: [OpenCL] Tests C++ for OpenCL version macros

2021-09-10 Thread Justas Janickas via Phabricator via cfe-commits
Topotuna updated this revision to Diff 371831. Topotuna added a comment. Reuses `--check-prefix=CHECK-CLCPP10` for default C++ for OpenCL command line version CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109366/new/ https://reviews.llvm.org/D109366 Files:

[PATCH] D109366: [OpenCL] Tests C++ for OpenCL version macros

2021-09-09 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia added inline comments. Comment at: clang/test/Preprocessor/predefined-macros.c:139 // RUN: %clang_cc1 %s -E -dM -o - -x cl -cl-std=clc++ \ +// RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-CLCPP +// RUN: %clang_cc1 %s -E -dM -o - -x cl -cl-std=clc++1.0

[PATCH] D109366: [OpenCL] Tests C++ for OpenCL version macros

2021-09-09 Thread Justas Janickas via Phabricator via cfe-commits
Topotuna updated this revision to Diff 371544. Topotuna retitled this revision from "[OpenCL] Tests C++ for OpenCL 2021 version macros" to "[OpenCL] Tests C++ for OpenCL version macros". Topotuna edited the summary of this revision. Topotuna added a comment. Test case added for command line flag