From 70f952bebe38f8117e6ce8986cd39f735b7b3d69 Mon Sep 17 00:00:00 2001 From: Bruno Ricci Date: Fri, 19 Jun 2020 13:31:38 +0100 Subject: [PATCH] [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. --- clang/utils/make-ast-dump-check.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/utils/make-ast-dump-check.sh b/clang/utils/make-ast-dump-check.sh index 578c725f48b1..4e8a1c198608 100755 --- a/clang/utils/make-ast-dump-check.sh +++ b/clang/utils/make-ast-dump-check.sh @@ -48,6 +48,10 @@ BEGIN { skipping_builtins = 0 } +/^[\`|].* col:/ { + skipping_builtins = 0 +} + { if (skipping_builtins == 1) { matched_last_line = 0