summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 16:58:30 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 16:58:30 +0000
commit78f486d1366394e23862d47199dc7c1321ad7f75 (patch)
treec5207a513d6c0fea22a42ccd9a1f24981d8b0e21 /clang/lib/CodeGen/CodeGenFunction.h
parent65fa869c233fef855606cbbe90d3ede44b5bb8cf (diff)
downloadbcm5719-llvm-78f486d1366394e23862d47199dc7c1321ad7f75.tar.gz
bcm5719-llvm-78f486d1366394e23862d47199dc7c1321ad7f75.zip
[CodeGen] getNaturalTypeAlignment() to generate TBAA info along with LValue base info
This patch should not bring in any functional changes. Differential Revision: https://reviews.llvm.org/D38794 llvm-svn: 315708
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 1f046faaa74..39b3a93ee7f 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1939,6 +1939,7 @@ public:
LValue MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T);
CharUnits getNaturalTypeAlignment(QualType T,
LValueBaseInfo *BaseInfo = nullptr,
+ TBAAAccessInfo *TBAAInfo = nullptr,
bool forPointeeType = false);
CharUnits getNaturalPointeeTypeAlignment(QualType T,
LValueBaseInfo *BaseInfo = nullptr);
OpenPOWER on IntegriCloud