[cfe-commits] r94553 - in /cfe/trunk: include/clang/AST/ASTContext.h lib/AST/ASTContext.cpp
Ken Dyck
ken.dyck at onsemi.com
Tue Jan 26 09:25:18 PST 2010
Author: kjdyck
Date: Tue Jan 26 11:25:18 2010
New Revision: 94553
URL: http://llvm.org/viewvc/llvm-project?rev=94553&view=rev
Log:
Correct cut-and-paste error in doxygen comment for newly introduced
getTypeAlignInChars().
Modified:
cfe/trunk/include/clang/AST/ASTContext.h
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=94553&r1=94552&r2=94553&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Tue Jan 26 11:25:18 2010
@@ -835,7 +835,7 @@
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);
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=94553&r1=94552&r2=94553&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Tue Jan 26 11:25:18 2010
@@ -820,7 +820,7 @@
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());
More information about the cfe-commits
mailing list