[PATCH] D91799: [clang-format] State where clang-format-diff.py should be run from
David Spickett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 30 02:01:00 PST 2020
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
======================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91799.308288.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201130/c0edcac2/attachment.bin>
More information about the cfe-commits
mailing list