[PATCH] Exception specification mismatch in explicit instantiation

Richard Smith richard at metafoo.co.uk
Thu Oct 30 17:59:12 PDT 2014


LGTM with a tweak to the testing.

================
Comment at: test/SemaTemplate/explicit-instantiation-cxx11.cpp:1
@@ +1,2 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -fexceptions -fcxx-exceptions -std=c++11 %s
+
----------------
Rather than copying this test, give the original test two RUN: lines. Use `#if __cplusplus >= 201103L` to disable the C++11-specific bits for the C++98 run of the test.

http://reviews.llvm.org/D5822






More information about the cfe-commits mailing list