diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-11-16 20:55:57 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-11-16 20:55:57 +0000 |
commit | 2dd41c5d42d1f34aae67b0d883afc7b1200a4070 (patch) | |
tree | d1e69ff97b14b5f9c8d3e0aed565a9a3bbac31af /llvm/lib/IR/LLVMContextImpl.h | |
parent | 9c432ae111bedfbd7987bfd6824d205cca3dc3e8 (diff) | |
download | bcm5719-llvm-2dd41c5d42d1f34aae67b0d883afc7b1200a4070.tar.gz bcm5719-llvm-2dd41c5d42d1f34aae67b0d883afc7b1200a4070.zip |
[IR] Manage TheNoneToken with a std::unique_ptr
Hopefully, this will make the sanitizer build bots happy.
llvm-svn: 253248
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index 3403cd4acfb..7e89b582cbd 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -924,7 +924,7 @@ public: ConstantInt *TheTrueVal; ConstantInt *TheFalseVal; - ConstantTokenNone *TheNoneToken; + std::unique_ptr<ConstantTokenNone> TheNoneToken; // Basic type instances. Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy, TokenTy; |