[llvm-branch-commits] [flang][runtime] Added self-printing for	InternalUnit. (PR #85181)
    Peter Klausler via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Thu Mar 14 08:49:11 PDT 2024
    
    
  
================
@@ -48,6 +55,10 @@ template <Direction DIR> class InternalDescriptorUnit : public ConnectionState {
   void BlankFillOutputRecord();
 
   StaticDescriptor<maxRank, true /*addendum*/> staticDescriptor_;
+  RT_OFFLOAD_VAR_GROUP_BEGIN
+  static constexpr std::size_t ownBufferSizeInBytes{1024};
+  RT_OFFLOAD_VAR_GROUP_END
+  bool usesOwnBuffer{false};
----------------
klausler wrote:
The naming convention in the runtime (and front-end) has an underscore at the end of the name of a private `class` data member.
https://github.com/llvm/llvm-project/pull/85181
    
    
More information about the llvm-branch-commits
mailing list