[Openmp-commits] [PATCH] D109770: [OpenMP] Declare variants for templates need to match # template args
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 14 09:30:57 PDT 2021
jdoerfert created this revision.
jdoerfert added reviewers: pdhaliwal, JonChesterfield.
Herald added subscribers: guansong, bollu, yaxunl.
jdoerfert requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
A declare variant template is only compatible with a base when the
number of template arguments is equal, otherwise our instantiations will
produce nonsensical results.
Exposes as part of D109344 <https://reviews.llvm.org/D109344>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109770
Files:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/AST/ast-dump-openmp-begin-declare-variant_template_4.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109770.372503.patch
Type: text/x-patch
Size: 9624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210914/12742e1b/attachment.bin>
More information about the Openmp-commits
mailing list