Update Windows-specific docs for the clang rewriting tool.
[email protected]
Review-Url: https://codereview.chromium.org/2596383002
Cr-Commit-Position: refs/heads/master@{#440516}
diff --git a/docs/clang_tool_refactoring.md b/docs/clang_tool_refactoring.md
index 6e22a1b..40a8dae 100644
--- a/docs/clang_tool_refactoring.md
+++ b/docs/clang_tool_refactoring.md
@@ -22,7 +22,6 @@
Other minor issues:
* Requires a git checkout.
-* Requires [some hacks to run on Windows](https://codereview.chromium.org/718873004).
## Prerequisites
@@ -117,7 +116,15 @@
that are generated as part of the build:
```shell
-ninja -C out/Debug
+ninja -C out/Debug # For non-Windows
+ninja -d keeprsp -C out/Debug # For Windows
+```
+
+On Windows, generate the compile DB first, and after making any source changes.
+Then omit the `--generate-compdb` in later steps.
+
+```shell
+tools/clang/scripts/generate_win_compdb.py out/Debug
```
Then run the actual tool: