[PATCH] D109411: [clang] Enable the special enable_if_t diagnostics for libc++'s __enable_if_t as well.
Louis Dionne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 8 12:19:17 PDT 2021
ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.
This seems reasonable to me.
================
Comment at: clang/lib/Sema/SemaTemplate.cpp:3514
/// Determine whether this alias template is "enable_if_t".
+/// libc++ >=14 uses "__enable_if_t" in C++11 mode.
static bool isEnableIfAliasTemplate(TypeAliasTemplateDecl *AliasTemplate) {
----------------
Nit: `libc++ >= 14`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109411/new/
https://reviews.llvm.org/D109411
More information about the cfe-commits
mailing list