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

Douglas Gregor dgregor at apple.com
Fri Dec 24 08:11:35 PST 2010


Sadness!

Sent from my iPhone

On Dec 23, 2010, at 8:45 PM, Chris Lattner <sabre at nondot.org> wrote:

> Author: lattner
> Date: Thu Dec 23 22:45:23 2010
> New Revision: 122540
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=122540&view=rev
> Log:
> don't use #pragma mark, it isn't portable.
> 
> 
> 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=122540&r1=122539&r2=122540&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Sema/Sema.h (original)
> +++ cfe/trunk/include/clang/Sema/Sema.h Thu Dec 23 22:45:23 2010
> @@ -3134,9 +3134,9 @@
>                                   const TemplateArgument *Args,
>                                   unsigned NumArgs);
> 
> -#ifndef _MSC_VER
> -#pragma mark C++ Variadic Templates (C++0x [temp.variadic])
> -#endif
> +  //===--------------------------------------------------------------------===//
> +  // C++ Variadic Templates (C++0x [temp.variadic])
> +  //===--------------------------------------------------------------------===//
> 
>   /// \brief The context in which an unexpanded parameter pack is
>   /// being diagnosed.
> @@ -3346,10 +3346,10 @@
>   /// false otherwise.
>   bool containsUnexpandedParameterPacks(Declarator &D);
> 
> -#ifndef _MSC_VER
> -#pragma mark C++ Template Argument Deduction (C++ [temp.deduct])
> -#endif
> -
> +  //===--------------------------------------------------------------------===//
> +  // C++ Template Argument Deduction (C++ [temp.deduct])
> +  //===--------------------------------------------------------------------===//
> +  
>   /// \brief Describes the result of template argument deduction.
>   ///
>   /// The TemplateDeductionResult enumeration describes the result of
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list