diff --git a/clang/examples/Tooling/ClangCheck.cpp b/clang/examples/Tooling/ClangCheck.cpp index 9f0b1dde7061..41283759a104 100644 --- a/clang/examples/Tooling/ClangCheck.cpp +++ b/clang/examples/Tooling/ClangCheck.cpp @@ -28,8 +28,8 @@ // // For example, to use clang-check on all files in a subtree of the source // tree, use: -// /path/to/cmake/sources $ find . -name '*.cpp' \ -// |xargs clang-check /path/to/cmake/build +// +// /path/in/subtree $ find . -name '*.cpp'| xargs clang-check /path/to/source // //===----------------------------------------------------------------------===//