]> granicus.if.org Git - clang/commit
Allow dllimport non-type template arguments in C++17
authorReid Kleckner <rnk@google.com>
Thu, 10 May 2018 18:57:35 +0000 (18:57 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 10 May 2018 18:57:35 +0000 (18:57 +0000)
commit5cc6e4d7280086984bad69532a5e09ab2899ed6b
tree22972d5c9f85290f410cac2f4c8cd39333236da2
parenta32046b1f42daf57b9a925e498b8610550a6e050
Allow dllimport non-type template arguments in C++17

Summary:
Fixes PR35772.

Reviewers: rsmith

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332018 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/ExprConstant.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/dllimport-constexpr.cpp [new file with mode: 0644]
test/SemaCXX/dllimport-memptr.cpp