[all-commits] [llvm/llvm-project] 45d708: PR42694 Support explicit(bool) in older language m...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Jan 15 18:50:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 45d70806f4386adfb62b0d75949a8aad58e0576f
      https://github.com/llvm/llvm-project/commit/45d70806f4386adfb62b0d75949a8aad58e0576f
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseTentative.cpp
    M clang/lib/Parse/Parser.cpp
    M clang/test/SemaCXX/cxx2a-explicit-bool.cpp

  Log Message:
  -----------
  PR42694 Support explicit(bool) in older language modes as an extension.

This needs somewhat careful disambiguation, as C++2a explicit(bool) is a
breaking change. We only enable it in cases where the source construct
could not possibly be anything else.




More information about the All-commits mailing list