[cfe-commits] r122538 - /cfe/trunk/include/clang/Sema/Sema.h

Michael J. Spencer bigcheesegs at gmail.com
Thu Dec 23 20:07:39 PST 2010


Author: mspencer
Date: Thu Dec 23 22:07:39 2010
New Revision: 122538

URL: http://llvm.org/viewvc/llvm-project?rev=122538&view=rev
Log:
ifndef _MSC_VER out #pragma mark on MSVC. It still tries to parse the text even
though it doesn't know what it is, and complains about invalid tokens ;/.

Modified:
    cfe/trunk/include/clang/Sema/Sema.h

Modified: cfe/trunk/include/clang/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=122538&r1=122537&r2=122538&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Thu Dec 23 22:07:39 2010
@@ -3134,7 +3134,9 @@
                                   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 @@
   /// 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.
   ///





More information about the cfe-commits mailing list