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