[cfe-commits] r167588 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Abramo Bagnara abramo.bagnara at bugseng.com
Thu Nov 8 08:27:30 PST 2012


Author: abramo
Date: Thu Nov  8 10:27:30 2012
New Revision: 167588

URL: http://llvm.org/viewvc/llvm-project?rev=167588&view=rev
Log:
Avoid to write function name in comment. Thanks to Dmitri Gribenko.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=167588&r1=167587&r2=167588&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Thu Nov  8 10:27:30 2012
@@ -3805,9 +3805,9 @@
   return New;
 }
 
-/// TryToFixInvalidVariablyModifiedType - Helper method to turn variable array
-/// types into constant array types in certain situations which would otherwise
-/// be errors (for GCC compatibility).
+/// Helper method to turn variable array types into constant array
+/// types in certain situations which would otherwise be errors (for
+/// GCC compatibility).
 static QualType TryToFixInvalidVariablyModifiedType(QualType T,
                                                     ASTContext &Context,
                                                     bool &SizeIsNegative,
@@ -3875,7 +3875,6 @@
                                       Res, ArrayType::Normal, 0);
 }
 
-/// FixInvalidVariablyModifiedTypeLoc
 static void
 FixInvalidVariablyModifiedTypeLoc(TypeLoc SrcTL, TypeLoc DstTL) {
   if (PointerTypeLoc* SrcPTL = dyn_cast<PointerTypeLoc>(&SrcTL)) {
@@ -3903,9 +3902,9 @@
   DstATL->setRBracketLoc(SrcATL->getRBracketLoc());
 }
 
-/// TryToFixInvalidVariablyModifiedTypeSourceInfo - Helper method to turn
-/// variable array types into constant array types in certain situations
-/// which would otherwise be errors (for GCC compatibility).
+/// Helper method to turn variable array types into constant array
+/// types in certain situations which would otherwise be errors (for
+/// GCC compatibility).
 static TypeSourceInfo*
 TryToFixInvalidVariablyModifiedTypeSourceInfo(TypeSourceInfo *TInfo,
                                               ASTContext &Context,





More information about the cfe-commits mailing list