diff options
author | Manuel Klimek <klimek@google.com> | 2013-02-06 10:33:21 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-02-06 10:33:21 +0000 |
commit | 2cff49e026879ad2f0c24de4a2c3168fb83c663e (patch) | |
tree | a82c5849fdb59188eb07e9610127056ede4b015e /clang/lib/Format/Format.cpp | |
parent | c697ad29ff7ffd13826bffa620650b725795034e (diff) | |
download | bcm5719-llvm-2cff49e026879ad2f0c24de4a2c3168fb83c663e.tar.gz bcm5719-llvm-2cff49e026879ad2f0c24de4a2c3168fb83c663e.zip |
Adds a convenience function selectFirst to simplify matching.
A very common use case is to search for the first occurrence of
a certain node that is a descendant of another node. In that
case, selectFirst significantly simplifies the code at the client side.
llvm-svn: 174499
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions