[c++1z] Permit constant evaluation of a call through a function pointer whose
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 15 Dec 2016 02:35:39 +0000 (02:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 15 Dec 2016 02:35:39 +0000 (02:35 +0000)
commitdfe85e2d88cdc7684abdeff6c91356d16a394849
treee5ea9fc48a52df5963fb86670e19f2573a5c9e01
parent81f5ade22790685efa5542bd8b7e7fb2c6b6c56c
[c++1z] Permit constant evaluation of a call through a function pointer whose
type differs from the type of the actual function due to having a different
exception specification.

llvm-svn: 289754
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/constant-expression-cxx1z.cpp