diff options
author | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-02 09:54:47 +0000 |
---|---|---|
committer | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-02 09:54:47 +0000 |
commit | 289574edc0a53541b7e0eb7d30d60adb3d90e32f (patch) | |
tree | 9a0aa6e1bb427eb74c92894bf379932a6e527890 /clang/lib/CodeGen/CodeGenModule.h | |
parent | c04c7443ea45a3f52fecebe8090d04b4b563cb86 (diff) | |
download | bcm5719-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/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index c2bc0e8b8b2..fdbf84416ca 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -652,7 +652,10 @@ public: CtorList &getGlobalCtors() { return GlobalCtors; } CtorList &getGlobalDtors() { return GlobalDtors; } - llvm::MDNode *getTBAAInfo(QualType QTy); + /// getTBAATypeInfo - Get metadata used to describe accesses to objects of + /// the given type. + llvm::MDNode *getTBAATypeInfo(QualType QTy); + llvm::MDNode *getTBAAInfoForVTablePtr(); llvm::MDNode *getTBAAStructInfo(QualType QTy); /// Return the path-aware tag for given base type, access node and offset. |