Fix Wdocumentation unknown parameter warning
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Feb 2022 15:36:55 +0000 (15:36 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Feb 2022 15:38:16 +0000 (15:38 +0000)
clang/include/clang/Driver/Driver.h

index 93e1eca..6f24f64 100644 (file)
@@ -614,9 +614,9 @@ private:
   ///
   /// \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.