[all-commits] [llvm/llvm-project] df2e2a: Implement latest C++ feature test macro recommenda...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Dec 19 12:59:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df2e2ab07b48b81fb440e3522c6e639e8ef8f2e9
      https://github.com/llvm/llvm-project/commit/df2e2ab07b48b81fb440e3522c6e639e8ef8f2e9
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  Implement latest C++ feature test macro recommendations.

We don't yet advertise init capture packs, because I found some bugs
while testing it. We reject-valid and then crash on both of these:

template<int ...a> auto x = [...y = a] {};
template<int ...a> auto x = [y = a...] {};




More information about the All-commits mailing list