================
@@ -374,6 +379,8 @@ def main():
         common_clang_tidy_args.append("-extra-arg-before=%s" % arg)
     for plugin in args.plugins:
         common_clang_tidy_args.append("-load=%s" % plugin)
+    if args.warnings_as_errors != "":
----------------
PiotrZSL wrote:

probably this would be sufficient:
```suggestion
    if args.warnings_as_errors:
```

https://github.com/llvm/llvm-project/pull/128221
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to