diff options
author | Nico Weber <thakis@chromium.org> | 2020-01-02 12:22:04 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2020-01-02 12:22:04 -0500 |
commit | 31210d1a3262e4240eb3ef72c62793e385b96456 (patch) | |
tree | cd2e97dc9c0d5eec774b3246ae77d17eafb8b4c9 | |
parent | 81ffe89735edc1cd7adb0d6b678df62892e59f74 (diff) | |
download | bcm5719-llvm-31210d1a3262e4240eb3ef72c62793e385b96456.tar.gz bcm5719-llvm-31210d1a3262e4240eb3ef72c62793e385b96456.zip |
[gn build] (manually) merge 24ab9b537e61b3 yet more, to fix redef warnings
-rwxr-xr-x | llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py b/llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py index 768e57db664..9cd1dd0f2cc 100755 --- a/llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py +++ b/llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py @@ -13,6 +13,7 @@ def main(): args = parser.parse_args() output = ''.join(['HANDLE_EXTENSION(%s)\n' % ext for ext in args.exts]) + output += '#undef HANDLE_EXTENSION\n' if not os.path.exists(args.output) or open(args.output).read() != output: open(args.output, 'w').write(output) |