[all-commits] [llvm/llvm-project] 354a59: [C++20] [Modules] Don't complain about duplicated ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Jul 7 20:14:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 354a597b9f3aad2a6a37518d47351adb99688cd2
      https://github.com/llvm/llvm-project/commit/354a597b9f3aad2a6a37518d47351adb99688cd2
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaModule.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    A clang/test/Modules/redundant-template-default-arg.cpp
    A clang/test/Modules/redundant-template-default-arg2.cpp
    A clang/test/Modules/redundant-template-default-arg3.cpp

  Log Message:
  -----------
  [C++20] [Modules] Don't complain about duplicated default template argument across modules

 See https://github.com/cplusplus/draft/pull/5204 for a detailed
 background.

 Simply, the test redundant-template-default-arg.cpp attached to this
 patch should be accepted instead of being complained about the
 redefinition.

 Reviewed By: urnathan, rsmith, ChuanqiXu

 Differential Revision: https://reviews.llvm.org/D118034




More information about the All-commits mailing list