https://github.com/cyndyishida created 
https://github.com/llvm/llvm-project/pull/235583

None

>From d9bdcc6174c3c0840665cb9dde5125e8cd1da076 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida <[email protected]>
Date: Sun, 25 Oct 2026 21:14:24 -0700
Subject: [PATCH] [clang][depscan] Fix inconsistent docstring formatting, NFC

---
 clang/include/clang/Tooling/DependencyScanningTool.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/clang/include/clang/Tooling/DependencyScanningTool.h 
b/clang/include/clang/Tooling/DependencyScanningTool.h
index 5fe73d5d5d0bed..7b7325446b928e 100644
--- a/clang/include/clang/Tooling/DependencyScanningTool.h
+++ b/clang/include/clang/Tooling/DependencyScanningTool.h
@@ -34,7 +34,7 @@ class DependencyScanningTool {
 public:
   /// Construct a dependency scanning tool.
   ///
-  /// @param Service  The parent service. Must outlive the tool.
+  /// \param Service The parent service. Must outlive the tool.
   DependencyScanningTool(
       dependencies::DependencyScanningService &Service,
       IntrusiveRefCntPtr<llvm::vfs::FileSystem> LocalFS = nullptr)
@@ -58,7 +58,7 @@ class DependencyScanningTool {
   /// dependency information by `-MD -MF <dep_file>`.
   ///
   /// \param MakeformatOutputPath The output parameter for the path to
-  /// \param MakeformatOutput.
+  /// \p MakeformatOutput.
   ///
   /// \returns std::nullopt if errors occurred (reported to the DiagConsumer),
   /// P1689 dependency format rules otherwise.
@@ -89,8 +89,8 @@ class DependencyScanningTool {
   ///                           "-fmodule-file=", "-o" and other output
   ///                           arguments for dependencies.
   /// \param TUBuffer Optional memory buffer for translation unit input. If
-  ///                 TUBuffer is nullopt, the input should be included in the
-  ///                 Commandline already.
+  ///                 std::nullopt, the input should be included
+  ///                 in the \p CommandLine already.
   ///
   /// \returns std::nullopt if errors occurred (reported to the DiagConsumer),
   /// translation unit dependencies otherwise.
@@ -137,7 +137,7 @@ class DependencyScanningTool {
 /// dependency scanning file-system is used instead.
 ///
 /// \returns false if any errors occurred (with diagnostics reported to
-/// \c DiagConsumer), true otherwise.
+/// \p DiagConsumer), true otherwise.
 bool computeDependencies(
     dependencies::DependencyScanningWorker &Worker, StringRef WorkingDirectory,
     ArrayRef<std::string> CommandLine,

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to