summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2019-01-07 15:04:45 +0000
committerBruno Ricci <riccibrun@gmail.com>2019-01-07 15:04:45 +0000
commit9b6dfac5ad6a80766234203c23d26b5cff15711b (patch)
treeecf44d7d9a7b85da5ca3bb329ba208bf5ae75f0b /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
parent1bec67f605c067e70a6df52479e899d1cbe6d47a (diff)
downloadbcm5719-llvm-9b6dfac5ad6a80766234203c23d26b5cff15711b.tar.gz
bcm5719-llvm-9b6dfac5ad6a80766234203c23d26b5cff15711b.zip
[AST] Store some data of CXXNewExpr as trailing objects
Store the optional array size expression, optional initialization expression and optional placement new arguments in a trailing array. Additionally store the range for the parenthesized type-id in a trailing object if needed since in the vast majority of cases the type is not parenthesized (not a single new expression in the translation unit of SemaDecl.cpp has a parenthesized type-id). This saves 2 pointers per CXXNewExpr in all cases, and 2 pointers + 8 bytes per CXXNewExpr in the common case where the type is not parenthesized. Differential Revision: https://reviews.llvm.org/D56134 Reviewed By: rjmccall llvm-svn: 350527
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud