summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/docs/LibTooling.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LibTooling.rst b/clang/docs/LibTooling.rst
index 963de603c55..63d38b519ad 100644
--- a/clang/docs/LibTooling.rst
+++ b/clang/docs/LibTooling.rst
@@ -122,7 +122,7 @@ tool is also checked into the clang tree at
// Apply a custom category to all command-line options so that they are the
// only ones displayed.
- cl::MyToolCategory("my-tool options");
+ cl::OptionCategory MyToolCategory("my-tool options");
// CommonOptionsParser declares HelpMessage with a description of the common
// command-line options related to the compilation database and input files.
OpenPOWER on IntegriCloud