]> granicus.if.org Git - clang/commitdiff
Correct cut-and-paste error in doxygen comment for newly introduced
authorKen Dyck <ken.dyck@onsemi.com>
Tue, 26 Jan 2010 17:25:18 +0000 (17:25 +0000)
committerKen Dyck <ken.dyck@onsemi.com>
Tue, 26 Jan 2010 17:25:18 +0000 (17:25 +0000)
getTypeAlignInChars().

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

include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp

index 0462de3897aa1a8a6f011998660becc022d107f6..8e913544830c9cc2b93c4aed728ac9a30645c318 100644 (file)
@@ -835,7 +835,7 @@ public:
     return getTypeInfo(T).second;
   }
 
-  /// getTypeAlign - Return the ABI-specified alignment of a type, in 
+  /// getTypeAlignInChars - Return the ABI-specified alignment of a type, in 
   /// characters. This method does not work on incomplete types.
   CharUnits getTypeAlignInChars(QualType T);
   CharUnits getTypeAlignInChars(const Type *T);
index e5c4381530f586d0ffdd1b7dc2f37b74959bddae..c2eddcb76e73b92aa878e9b8200cd9f25bcdd9e9 100644 (file)
@@ -820,7 +820,7 @@ CharUnits ASTContext::getTypeSizeInChars(const Type *T) {
   return CharUnits::fromQuantity(getTypeSize(T) / getCharWidth());
 }
 
-/// getTypeAlign - Return the ABI-specified alignment of a type, in 
+/// getTypeAlignInChars - Return the ABI-specified alignment of a type, in 
 /// characters. This method does not work on incomplete types.
 CharUnits ASTContext::getTypeAlignInChars(QualType T) {
   return CharUnits::fromQuantity(getTypeAlign(T) / getCharWidth());