summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorKen Dyck <ken.dyck@onsemi.com>2010-01-26 17:25:18 +0000
committerKen Dyck <ken.dyck@onsemi.com>2010-01-26 17:25:18 +0000
commita6046ab82bd8117dbc055fbbc0621364ee715a39 (patch)
treec3e0074e2651261df0a23d68a2377d65b62dfd2b /clang/lib/AST/ASTContext.cpp
parent24d28d6cde4a36b6f4d05ef153fa5f58f6709861 (diff)
downloadbcm5719-llvm-a6046ab82bd8117dbc055fbbc0621364ee715a39.tar.gz
bcm5719-llvm-a6046ab82bd8117dbc055fbbc0621364ee715a39.zip
Correct cut-and-paste error in doxygen comment for newly introduced
getTypeAlignInChars(). llvm-svn: 94553
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index e5c4381530f..c2eddcb76e7 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -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());
OpenPOWER on IntegriCloud