[UpdateCCTestChecks] Detect function mangled name on separate line
authorDavid Greene <greened@obbligato.org>
Tue, 8 Oct 2019 16:25:42 +0000 (16:25 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 8 Oct 2019 16:25:42 +0000 (16:25 +0000)
commiteb6698572623f7f704596949bfc2a6bdcc7940d1
treeb854fb093c7f84728b5aa1e1a8f27bfee1489b29
parent02376077be5567fe0d7d1e51679aac121e4bbf79
[UpdateCCTestChecks] Detect function mangled name on separate line

Sometimes functions with large comment blocks in front of them have their
declarations output on several lines by c-index-test.  Hence the one-line
function name/line/mangled pattern will not work to detect them.  Break the
pattern up into two patterns and keep state after seeing the name/line
information until we finally see the mangled name.

Differential Revision: https://reviews.llvm.org/D68272

llvm-svn: 374078
llvm/utils/update_cc_test_checks.py