[PATCH] D80627: [clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 06:30:22 PDT 2020


sylvestre.ledru added inline comments.


================
Comment at: clang/docs/tools/generate_formatted_state.py:48
+        if "/test/" in path:
+            print root
+            continue
----------------
print xx is python 2
please use
print(xx)



================
Comment at: clang/docs/tools/generate_formatted_state.py:71
+
+            if (clean==False):
+                print os.path.relpath(file_path,LLVM_DIR), ":", "FAIL"
----------------
if clean:
and revert the two blocks :)



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80627/new/

https://reviews.llvm.org/D80627





More information about the cfe-commits mailing list