summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-02 09:54:47 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-02 09:54:47 +0000
commit289574edc0a53541b7e0eb7d30d60adb3d90e32f (patch)
tree9a0aa6e1bb427eb74c92894bf379932a6e527890 /clang/lib/CodeGen/CodeGenFunction.cpp
parentc04c7443ea45a3f52fecebe8090d04b4b563cb86 (diff)
downloadbcm5719-llvm-289574edc0a53541b7e0eb7d30d60adb3d90e32f.tar.gz
bcm5719-llvm-289574edc0a53541b7e0eb7d30d60adb3d90e32f.zip
[CodeGen] Do not refer to complete TBAA info where we actually deal with just TBAA access types
This patch fixes misleading names of entities related to getting, setting and generation of TBAA access type descriptors. This is effectively an attempt to provide a review for D37826 by breaking it into smaller pieces. Differential Revision: https://reviews.llvm.org/D38404 llvm-svn: 314657
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 53737d54651..233396fc916 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -171,7 +171,7 @@ LValue CodeGenFunction::MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T) {
LValueBaseInfo BaseInfo;
CharUnits Alignment = getNaturalTypeAlignment(T, &BaseInfo);
return LValue::MakeAddr(Address(V, Alignment), T, getContext(), BaseInfo,
- CGM.getTBAAInfo(T));
+ CGM.getTBAATypeInfo(T));
}
/// Given a value of type T* that may not be to a complete object,
OpenPOWER on IntegriCloud