diff options
| author | Dan Gohman <gohman@apple.com> | 2012-09-28 21:58:29 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2012-09-28 21:58:29 +0000 |
| commit | b22c7dc707cf3770ff3b5e5f11f11fd0aaa06d9b (patch) | |
| tree | 229206e36c039731daa063a9a194205dc31f904b /lib/CodeGen/CodeGenModule.h | |
| parent | 72ab27732ea7a42d756a1e79727f86fbe391b42b (diff) | |
| download | clang-b22c7dc707cf3770ff3b5e5f11f11fd0aaa06d9b.tar.gz clang-b22c7dc707cf3770ff3b5e5f11f11fd0aaa06d9b.tar.bz2 clang-b22c7dc707cf3770ff3b5e5f11f11fd0aaa06d9b.tar.xz | |
Add basic support for adding !tbaa.struct metadata on llvm.memcpy calls for
struct assignment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 6e81693f7f..3b5e1425bd 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -461,6 +461,7 @@ public: llvm::MDNode *getTBAAInfo(QualType QTy); llvm::MDNode *getTBAAInfoForVTablePtr(); + llvm::MDNode *getTBAAStructInfo(QualType QTy); bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor); |
