aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-02-06 10:33:21 +0000
committerManuel Klimek <klimek@google.com>2013-02-06 10:33:21 +0000
commitcf87bffc346244f0ed8eae7fffb52a0f03cd0413 (patch)
treea4330235837fae6bb6880f23fcafb99655fb55e2 /lib/Format/Format.cpp
parent4e778091b0ff42895644ca8bef30f1a91ba6b32b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions