We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66bc184 commit 81e7c8cCopy full SHA for 81e7c8c
tools/generate_single_header.py
@@ -122,6 +122,8 @@ def main():
122
toml_h = re.sub(r'([^@][({,])\n\n', r'\1\n', toml_h)
123
# blank lines preceeding closing brackets
124
toml_h = re.sub(r'\n\n([ \t]*[})])', r'\n\1', toml_h)
125
+ # IWYU pragmas
126
+ toml_h = re.sub(r'\n// IWYU pragma: .+\n', '\n', toml_h)
127
# ensure only one trailing newline
128
toml_h = toml_h.strip() + '\n'
129
0 commit comments