summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 19:55:01 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 19:55:01 +0000
commitce601eedf60e1ff89c00f6975e6d1ee2258801f2 (patch)
tree83b9700cb581e78a3a93bc1f0dd234e3dcb56403 /clang/lib/CodeGen/CodeGenFunction.cpp
parent57e060b30985644732228596e9c1b143519370e2 (diff)
downloadbcm5719-llvm-ce601eedf60e1ff89c00f6975e6d1ee2258801f2.tar.gz
bcm5719-llvm-ce601eedf60e1ff89c00f6975e6d1ee2258801f2.zip
Revert "[CodeGen] EmitPointerWithAlignment() to generate TBAA info along with LValue base info", r315731.
With this change we fail on the clang-x86_64-linux-selfhost-modules builder. Differential Revision: https://reviews.llvm.org/D38796 llvm-svn: 315739
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 50f0d83c771..26df45f5350 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -118,9 +118,9 @@ CodeGenFunction::~CodeGenFunction() {
}
CharUnits CodeGenFunction::getNaturalPointeeTypeAlignment(QualType T,
- LValueBaseInfo *BaseInfo,
- TBAAAccessInfo *TBAAInfo) {
- return getNaturalTypeAlignment(T->getPointeeType(), BaseInfo, TBAAInfo,
+ LValueBaseInfo *BaseInfo) {
+ return getNaturalTypeAlignment(T->getPointeeType(), BaseInfo,
+ /* TBAAInfo= */ nullptr,
/* forPointeeType= */ true);
}
OpenPOWER on IntegriCloud