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 | |
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
-rw-r--r-- | include/clang/AST/ASTContext.h | 2 | ||||
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 0462de3897..8e91354483 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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); 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()); |