[PATCH] Exception specification mismatch in explicit instantiation

Alexey Bataev a.bataev at hotmail.com
Thu Oct 16 05:49:27 PDT 2014


Hi rsmith,

According to C++ standard if an exception-specification is specified in an explicit instantiation directive, it shall be compatible with the exception-specifications of other declarations of that function. This patch adds checks for this.

http://reviews.llvm.org/D5822

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaTemplate.cpp
  test/SemaTemplate/explicit-instantiation-cxx11.cpp
  test/SemaTemplate/explicit-instantiation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5822.15013.patch
Type: text/x-patch
Size: 10197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141016/71fa855c/attachment.bin>


More information about the cfe-commits mailing list