[all-commits] [llvm/llvm-project] 7145ea: [Clang] Add warning message for C++17 alias templa...

GeorgeKA via All-commits all-commits at lists.llvm.org
Thu Apr 3 06:59:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7145ead280ba10d08fe48e7859f1a61a64653104
      https://github.com/llvm/llvm-project/commit/7145ead280ba10d08fe48e7859f1a61a64653104
  Author: GeorgeKA <gkasante at gmail.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/SemaCXX/cxx17-compat.cpp
    M clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp

  Log Message:
  -----------
  [Clang] Add warning message for C++17 alias template CTAD (#133806)

Alias template class template argument deduction is a documented C++20
feature. C++17 also happens to support it, but there is no message
output to indicate the officially supported version. This PR adds that.

Also updated relevant CTAD test cases.

Closes #125913



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list