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

Richard Smith via All-commits all-commits at lists.llvm.org
Fri Jan 17 00:58:04 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a08d2c4e7830a1b2428c2c77f205ac74fa29899
      https://github.com/llvm/llvm-project/commit/0a08d2c4e7830a1b2428c2c77f205ac74fa29899
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-17 (Fri, 17 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.

(cherry picked from commit 45d70806f4386adfb62b0d75949a8aad58e0576f)


  Commit: 2d2d057ae23036baecb5a2a4a7f929626f46921a
      https://github.com/llvm/llvm-project/commit/2d2d057ae23036baecb5a2a4a7f929626f46921a
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    A clang/test/Parser/explicit-bool.cpp

  Log Message:
  -----------
  Add extra test file forgotten in 45d7080.

(cherry picked from commit b78e8e0d79c47a6698a0abc10a37b8a253cb6064)


Compare: https://github.com/llvm/llvm-project/compare/e241c8fe6d2e...2d2d057ae230


More information about the All-commits mailing list