diff options
-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()); |