diff options
author | Zachary Turner <zturner@google.com> | 2015-02-12 21:09:24 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-12 21:09:24 +0000 |
commit | c074de041b92af6a8279ea84a3675ab79579ec20 (patch) | |
tree | 6dba14e46c1e40f84304087e8ded45dfa6ac04f6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | cf7d164ec1c85e9f4d7a1508486342b67828e408 (diff) | |
download | llvm-c074de041b92af6a8279ea84a3675ab79579ec20.zip llvm-c074de041b92af6a8279ea84a3675ab79579ec20.tar.gz llvm-c074de041b92af6a8279ea84a3675ab79579ec20.tar.bz2 |
Add concrete type overloads to PDBSymbol::findChildren().
Frequently you only want to iterate over children of a specific
type (e.g. functions). Previously you would get back a generic
interface that allowed iteration over the base symbol type,
which you would have to dyn_cast<> each one of. With this patch,
we allow the user to specify the concrete type as a template
parameter, and it will return an iterator which returns instances
of the concrete type directly.
llvm-svn: 228960
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions