[clang] 91cf639 - Fix Wdocumentation unknown parameter warning

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 18 07:39:16 PST 2022


Author: Simon Pilgrim
Date: 2022-02-18T15:38:16Z
New Revision: 91cf639ac069a797b1fac4134cf121bc9db6dff6

URL: https://github.com/llvm/llvm-project/commit/91cf639ac069a797b1fac4134cf121bc9db6dff6
DIFF: https://github.com/llvm/llvm-project/commit/91cf639ac069a797b1fac4134cf121bc9db6dff6.diff

LOG: Fix Wdocumentation unknown parameter warning

Added: 
    

Modified: 
    clang/include/clang/Driver/Driver.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Driver/Driver.h b/clang/include/clang/Driver/Driver.h
index 93e1eca6a981..6f24f649ea54 100644
--- a/clang/include/clang/Driver/Driver.h
+++ b/clang/include/clang/Driver/Driver.h
@@ -614,9 +614,9 @@ class Driver {
   ///
   /// \param[in] HostTC is the host ToolChain paired with the device
   ///
-  /// \param[in] Action (e.g. OFK_Cuda/OFK_OpenMP/OFK_SYCL) is an Offloading
-  /// action that is optionally passed to a ToolChain (used by CUDA, to specify
-  /// if it's used in conjunction with OpenMP)
+  /// \param[in] TargetDeviceOffloadKind (e.g. OFK_Cuda/OFK_OpenMP/OFK_SYCL) is
+  /// an Offloading action that is optionally passed to a ToolChain (used by
+  /// CUDA, to specify if it's used in conjunction with OpenMP)
   ///
   /// Will cache ToolChains for the life of the driver object, and create them
   /// on-demand.


        


More information about the cfe-commits mailing list