[cfe-commits] r122084 - /cfe/trunk/include/clang/AST/TemplateBase.h

Bill Wendling isanbard at gmail.com
Fri Dec 17 11:53:28 PST 2010


Author: void
Date: Fri Dec 17 13:53:28 2010
New Revision: 122084

URL: http://llvm.org/viewvc/llvm-project?rev=122084&view=rev
Log:
Initialize variables in the correct order.

Modified:
    cfe/trunk/include/clang/AST/TemplateBase.h

Modified: cfe/trunk/include/clang/AST/TemplateBase.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TemplateBase.h?rev=122084&r1=122083&r2=122084&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/TemplateBase.h (original)
+++ cfe/trunk/include/clang/AST/TemplateBase.h Fri Dec 17 13:53:28 2010
@@ -79,7 +79,7 @@
 
 public:
   /// \brief Construct an empty, invalid template argument.
-  TemplateArgument() : TypeOrValue(0), Kind(Null) { }
+  TemplateArgument() : Kind(Null), TypeOrValue(0) { }
 
   /// \brief Construct a template type argument.
   TemplateArgument(QualType T) : Kind(Type) {





More information about the cfe-commits mailing list