From 14a46a1e77e6f1720b7b49b446ef60cdcd986525 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Fri, 23 Aug 2013 05:42:19 +0000 Subject: [PATCH] arc commit didn't add this because it wasn't in the patch... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189088 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticSemaKinds.td | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 17cfce1b95..db8aa0ab79 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -2993,6 +2993,9 @@ def err_pointer_to_member_call_drops_quals : Error< def err_pointer_to_member_oper_value_classify: Error< "pointer-to-member function type %0 can only be called on an " "%select{rvalue|lvalue}1">; +def ext_ms_deref_template_argument: ExtWarn< + "non-type template argument containing a dereference operation is a " + "Microsoft extension">, InGroup; // C++ template specialization def err_template_spec_unknown_kind : Error< -- 2.50.1