summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2018-07-23 12:45:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2018-07-23 12:45:24 +0000
commitc0a0fb356319891e5a9c31a140e821778b4addc7 (patch)
tree0504456109cb51343dc28f26fff2f959eeb553a2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent3828c6ff9414ca3f83efa6d9b0b69c9f48e4e761 (diff)
downloadbcm5719-llvm-c0a0fb356319891e5a9c31a140e821778b4addc7.tar.gz
bcm5719-llvm-c0a0fb356319891e5a9c31a140e821778b4addc7.zip
[AST] Use llvm::TrailingObjects in CXXTryStmt
1. Use llvm::TrailingObjects in CXXTryStmt instead of manually doing the reinterpret_casts + pointer arithmetic. This is more consistent with other classes using this idiom and this make it clearer that this class has trailing objects. 2. Make the class CXXTryStmt final since it has trailing objects. 3. Move the friend declarations together. No functional changes. Patch by Bruno Ricci! Differential Revision: https://reviews.llvm.org/D48873 llvm-svn: 337688
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud