[all-commits] [llvm/llvm-project] c32d26: Don't diagnose a redeclaration of a deduction guid...
Richard Smith via All-commits
all-commits at lists.llvm.org
Fri Jun 12 10:29:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c32d261e27c8c63653799fa6e411c373bd81d519
https://github.com/llvm/llvm-project/commit/c32d261e27c8c63653799fa6e411c373bd81d519
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/Modules/Inputs/cxx17/module.modulemap
A clang/test/Modules/Inputs/cxx17/unimported.h
A clang/test/Modules/Inputs/cxx20/decls.h
A clang/test/Modules/Inputs/cxx20/module.modulemap
A clang/test/Modules/Inputs/cxx20/unimported.h
M clang/test/Modules/cxx17.cpp
A clang/test/Modules/cxx20.cpp
Log Message:
-----------
Don't diagnose a redeclaration of a deduction guide if the prior
declaration is not visible.
In passing, add a test for a similar case of conflicting redeclarations
of internal-linkage structured bindings. (This case already works).
More information about the All-commits
mailing list