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 | a6046ab82bd8117dbc055fbbc0621364ee715a39 (patch) | |
| tree | c3e0074e2651261df0a23d68a2377d65b62dfd2b /clang/lib/AST/ASTContext.cpp | |
| parent | 24d28d6cde4a36b6f4d05ef153fa5f58f6709861 (diff) | |
| download | bcm5719-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.cpp | 2 |
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()); |

