diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/GRExprEngine.cpp b/clang/Analysis/GRExprEngine.cpp index 5d6c7122c1b..fd8d0f5c1d6 100644 --- a/clang/Analysis/GRExprEngine.cpp +++ b/clang/Analysis/GRExprEngine.cpp @@ -745,7 +745,7 @@ void GRExprEngine::VisitSizeOfAlignOfTypeExpr(SizeOfAlignOfTypeExpr* Ex, } else // Get alignment of the type. - amt = getContext().getTypeAlign(T); + amt = getContext().getTypeAlign(T) / 8; Nodify(Dst, Ex, Pred, SetRVal(GetState(Pred), Ex, |