[UpdateCCTestChecks] Detect function mangled name on separate line
commit9d2cafcc8c04041068a412f64bc18b1692747426
authorDavid Greene <greened@obbligato.org>
Tue, 8 Oct 2019 16:25:42 +0000 (8 16:25 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 8 Oct 2019 16:25:42 +0000 (8 16:25 +0000)
tree661e6039a37d6b9032fcd19b6f72d8808eb07064
parent1f32e45f4132651f6c44b722662f8af5e6c69bc9
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374078 91177308-0d34-0410-b5e6-96231b3b80d8
utils/update_cc_test_checks.py