summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-01-02 12:22:04 -0500
committerNico Weber <thakis@chromium.org>2020-01-02 12:22:04 -0500
commit31210d1a3262e4240eb3ef72c62793e385b96456 (patch)
treecd2e97dc9c0d5eec774b3246ae77d17eafb8b4c9
parent81ffe89735edc1cd7adb0d6b678df62892e59f74 (diff)
downloadbcm5719-llvm-31210d1a3262e4240eb3ef72c62793e385b96456.tar.gz
bcm5719-llvm-31210d1a3262e4240eb3ef72c62793e385b96456.zip
[gn build] (manually) merge 24ab9b537e61b3 yet more, to fix redef warnings
-rwxr-xr-xllvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py1
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)
OpenPOWER on IntegriCloud