diff options
author | Ken Dyck <ken.dyck@onsemi.com> | 2010-01-26 17:25:18 +0000 |
---|---|---|
committer | Ken Dyck <ken.dyck@onsemi.com> | 2010-01-26 17:25:18 +0000 |
commit | 16e20cce43385001f33f8e3f90ee345609c805d1 (patch) | |
tree | ba6c69fd07799f8d392803365b2c2e6c1dca61c1 /lib | |
parent | 86fa4311c8a330957ff5b765fbb0a7750ecd38c9 (diff) |
Correct cut-and-paste error in doxygen comment for newly introduced
getTypeAlignInChars().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index e5c4381530..c2eddcb76e 100644 --- a/lib/AST/ASTContext.cpp +++ b/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()); |