summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-04-13 23:37:17 +0000
committerReid Kleckner <rnk@google.com>2016-04-13 23:37:17 +0000
commit9305fd1f8617a92dd0157b6b068f899cd1688af3 (patch)
treedfd8b7568ae232351f9eed433300fb764b278e70 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
parentcae581d13fc75ed22b83b0684d6a0a874f1929d5 (diff)
downloadbcm5719-llvm-9305fd1f8617a92dd0157b6b068f899cd1688af3.tar.gz
bcm5719-llvm-9305fd1f8617a92dd0157b6b068f899cd1688af3.zip
[CodeGen] Avoid ctor/dtor boilerplate with some C++11
Non-owning pointers that cache LLVM types and constants can use 'nullptr' default member initializers so that we don't need to mention them in the constructor initializer list. Owning pointers should use std::unique_ptr so that we don't need to manually delete them in the destructor. They also don't need to be mentioned in the constructor at that point. NFC llvm-svn: 266263
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud