[clang] 0f8adc8 - [OpenACC] Fix comments on OpenACC enum to use ///

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 06:49:37 PST 2024


Author: erichkeane
Date: 2024-01-05T06:49:32-08:00
New Revision: 0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339

URL: https://github.com/llvm/llvm-project/commit/0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339
DIFF: https://github.com/llvm/llvm-project/commit/0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339.diff

LOG: [OpenACC] Fix comments on OpenACC enum to use ///

Added: 
    

Modified: 
    clang/include/clang/Basic/OpenACCKinds.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/OpenACCKinds.h b/clang/include/clang/Basic/OpenACCKinds.h
index 3117d584d347b9..54a29f8428e99c 100644
--- a/clang/include/clang/Basic/OpenACCKinds.h
+++ b/clang/include/clang/Basic/OpenACCKinds.h
@@ -72,25 +72,25 @@ enum class OpenACCAtomicKind {
 
 /// Represents the kind of an OpenACC clause.
 enum class OpenACCClauseKind {
-  // 'finalize' clause, allowed on 'exit data' directive.
+  /// 'finalize' clause, allowed on 'exit data' directive.
   Finalize,
-  // 'if_present' clause, allowed on 'host_data' and 'update' directives.
+  /// 'if_present' clause, allowed on 'host_data' and 'update' directives.
   IfPresent,
-  // 'seq' clause, allowed on 'loop' and 'routine' directives.
+  /// 'seq' clause, allowed on 'loop' and 'routine' directives.
   Seq,
-  // 'independent' clause, allowed on 'loop' directives.
+  /// 'independent' clause, allowed on 'loop' directives.
   Independent,
-  // 'auto' clause, allowed on 'loop' directives.
+  /// 'auto' clause, allowed on 'loop' directives.
   Auto,
-  // 'worker' clause, allowed on 'loop' and 'routine' directives.
+  /// 'worker' clause, allowed on 'loop' and 'routine' directives.
   Worker,
-  // 'vector' clause, allowed on 'loop' and 'routine' directives. Takes no
-  // arguments for 'routine', so the 'loop' version is not yet implemented
-  // completely.
+  /// 'vector' clause, allowed on 'loop' and 'routine' directives. Takes no
+  /// arguments for 'routine', so the 'loop' version is not yet implemented
+  /// completely.
   Vector,
-  // 'nohost' clause, allowed on 'routine' directives.
+  /// 'nohost' clause, allowed on 'routine' directives.
   NoHost,
-  // Represents an invalid clause, for the purposes of parsing.
+  /// Represents an invalid clause, for the purposes of parsing.
   Invalid,
 };
 } // namespace clang


        


More information about the cfe-commits mailing list