[all-commits] [llvm/llvm-project] bf8b63: [clang codegen] Fix alignment of "Address" for inc...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Tue Jun 23 17:16:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bf8b63ed296c1ecad03c83b798ffbfa039cbceb4
https://github.com/llvm/llvm-project/commit/bf8b63ed296c1ecad03c83b798ffbfa039cbceb4
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2020-06-23 (Tue, 23 Jun 2020)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGenCXX/alignment.cpp
Log Message:
-----------
[clang codegen] Fix alignment of "Address" for incomplete array pointer.
The code was assuming all incomplete types don't have meaningful
alignment, but incomplete arrays do have meaningful alignment.
Fixes https://bugs.llvm.org/show_bug.cgi?id=45710
Differential Revision: https://reviews.llvm.org/D79052
More information about the All-commits
mailing list