loplugin:constmethod in editeng
[LibreOffice.git] / bin / gen-iwyu-dummy-lib.awk
blob464d9515c7ef62f37ee84cc0b7f231a8bbc07d26
1 BEGIN { domatch = 0; }
4 if ($0 ~ /use_external(s)?,/ )
6 if (index($0, "))"))
8 gsub(/.*,/, "");
9 gsub(/\)+/, "");
10 if (!($0 in exts))
12 exts[$0];
13 print $0;
16 else
18 domatch = 1;
21 else if ($0 ~ /\)\)/ )
23 domatch = 0;
25 else if (domatch == 1)
27 if (!($1 in exts))
29 exts[$1];
30 print $1;