[PATCH] D102531: PR45881: Properly use CXXThisOverride for templated lambda

Raul Tambre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 5 23:56:27 PDT 2021


tambre added inline comments.


================
Comment at: clang/test/SemaCXX/cxx2a-lambda-decltype-this.cpp:1-4
+// RUN: %clang_cc1 -std=c++2a -fsyntax-only -fblocks -emit-llvm-only %s
+// RUN: %clang_cc1 -std=c++2a -fsyntax-only -fblocks -fdelayed-template-parsing %s
+// RUN: %clang_cc1 -std=c++2a -fsyntax-only -fblocks -fms-extensions %s
+// RUN: %clang_cc1 -std=c++2a -fsyntax-only -fblocks -fdelayed-template-parsing -fms-extensions %s
----------------
`-fblocks` doesn't seem like it'd be necessary?

It would probably be a good idea to rename this to `cxx20-lambda-decltype-this.cpp` and use `-std=c++20` from the get-go since C++20 has been finalized.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102531



More information about the cfe-commits mailing list