This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb5fbc60e4de4: [clang-format] State where clang-format-diff.py should be run from (authored by DavidSpickett).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D91799/new/ https://reviews.llvm.org/D91799 Files: clang/docs/ClangFormat.rst Index: clang/docs/ClangFormat.rst =================================================================== --- clang/docs/ClangFormat.rst +++ clang/docs/ClangFormat.rst @@ -248,6 +248,9 @@ The option `-U0` will create a diff without context lines (the script would format those as well). +These commands use the file paths shown in the diff output +so they will only work from the root of the repository. + Current State of Clang Format for LLVM ======================================
Index: clang/docs/ClangFormat.rst =================================================================== --- clang/docs/ClangFormat.rst +++ clang/docs/ClangFormat.rst @@ -248,6 +248,9 @@ The option `-U0` will create a diff without context lines (the script would format those as well). +These commands use the file paths shown in the diff output +so they will only work from the root of the repository. + Current State of Clang Format for LLVM ======================================
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits