diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-19 21:03:42 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-19 21:03:42 +0000 |
commit | 2271ba2c528478851a0ef8f0f4d7a2ed0af7bc43 (patch) | |
tree | 7d2bdcb50f07813939357eb4b94d18bd2d29e69b /lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp | |
parent | 9730ae943f3c639f9d0798a1319b4adc6d3deafc (diff) | |
download | bcm5719-llvm-2271ba2c528478851a0ef8f0f4d7a2ed0af7bc43.tar.gz bcm5719-llvm-2271ba2c528478851a0ef8f0f4d7a2ed0af7bc43.zip |
[AST] Add CanonicalDeclPtr<T>.
Summary:
CanonicalDeclPtr<T> is just like a T*, except it calls
T::getCanonicalDecl() on construction.
This is useful as the key in a "set of canonical Decls" -- it's much
less error-prone than calling getCanonicalDecl() every time you touch
the set.
Reviewers: rnk
Subscribers: cfe-commits, tra
Differential Revision: https://reviews.llvm.org/D25703
llvm-svn: 284644
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp')
0 files changed, 0 insertions, 0 deletions