]> granicus.if.org Git - clang/commitdiff
ifndef _MSC_VER out #pragma mark on MSVC. It still tries to parse the text even
authorMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 Dec 2010 04:07:39 +0000 (04:07 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 Dec 2010 04:07:39 +0000 (04:07 +0000)
though it doesn't know what it is, and complains about invalid tokens ;/.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122538 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index 2b01e16c50909bea846d91239ab4100d7aca1291..6cccbd6d293a1aae42030081d839b5157e41bdde 100644 (file)
@@ -3134,7 +3134,9 @@ public:
                                   const TemplateArgument *Args,
                                   unsigned NumArgs);
 
+#ifndef _MSC_VER
 #pragma mark C++ Variadic Templates (C++0x [temp.variadic])
+#endif
 
   /// \brief The context in which an unexpanded parameter pack is
   /// being diagnosed.
@@ -3344,7 +3346,9 @@ public:
   /// false otherwise.
   bool containsUnexpandedParameterPacks(Declarator &D);
   
+#ifndef _MSC_VER
 #pragma mark C++ Template Argument Deduction (C++ [temp.deduct])
+#endif
 
   /// \brief Describes the result of template argument deduction.
   ///