diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 315b782baa3..d1bd3c871fe 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -459,15 +459,15 @@ namespace llvm { /// const SCEV *getSizeOfExpr(const Type *AllocTy); - /// getSizeOfExpr - Return an expression for alignof on the given type. + /// getAlignOfExpr - Return an expression for alignof on the given type. /// const SCEV *getAlignOfExpr(const Type *AllocTy); - /// getSizeOfExpr - Return an expression for offsetof on the given field. + /// getOffsetOfExpr - Return an expression for offsetof on the given field. /// const SCEV *getOffsetOfExpr(const StructType *STy, unsigned FieldNo); - /// getSizeOfExpr - Return an expression for offsetof on the given field. + /// getOffsetOfExpr - Return an expression for offsetof on the given field. /// const SCEV *getOffsetOfExpr(const Type *CTy, Constant *FieldNo);