Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2436)

Unified Diff: docs/clang_tidy.md

Issue 2359133002: Fix typo in clang-tidy documentation (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/clang_tidy.md
diff --git a/docs/clang_tidy.md b/docs/clang_tidy.md
index 9265e0cbfdc9eff8dd1da3235024c9c450614634..756f60911b863122cf747d4c26881703ed1493f9 100644
--- a/docs/clang_tidy.md
+++ b/docs/clang_tidy.md
@@ -61,7 +61,7 @@ cd out/Release
```
4. Run clang-tidy.
```
-<PATH_TO_LLVM_SRC>/tools/clang/tools/extra/clang-tidy/tools/run-clang-tidy.py \
+<PATH_TO_LLVM_SRC>/tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
Devlin 2016/09/26 17:21:52 Ah, of course, there's only two nested tools/ dire
-p ../.. \# Set the root project directory, where compile_commands.json is.
# Set the clang-tidy binary path, if it's not in your $PATH.
-clang-tidy-binary <PATH_TO_LLVM_BUILD>/bin/clang-tidy \
@@ -76,7 +76,7 @@ cd out/Release
chrome/browser # The path to the files you want to check.
Copy-Paste Friendly (though you'll still need to stub in the variables):
-<PATH_TO_LLVM_SRC>/tools/clang/tools/extra/clang-tidy/tools/run-clang-tidy.py \
+<PATH_TO_LLVM_SRC>/tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-p ../.. \
-clang-tidy-binary <PATH_TO_LLVM_BUILD>/bin/clang-tidy \
-clang-apply-replacements-binary \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698