[clang][utils] Also match "col:" when looking for the end of builtins

Some AST dump tests have no "line:" at all. See "ast-dump-wchar.cpp" for
an example.
This commit is contained in:
Bruno Ricci
2020-06-19 13:40:20 +01:00
parent 3f2e61c1fe
commit 70f952bebe
+4
View File
@@ -48,6 +48,10 @@ BEGIN {
skipping_builtins = 0
}
/^[\`|].* col:/ {
skipping_builtins = 0
}
{
if (skipping_builtins == 1) {
matched_last_line = 0