@@ -58,25 +58,25 @@ class Component {
5858 Automatic = 4
5959 };
6060
61- const RT_API_ATTRS Descriptor &name () const { return name_.descriptor (); }
61+ RT_API_ATTRS const Descriptor &name () const { return name_.descriptor (); }
6262 RT_API_ATTRS Genre genre () const { return genre_; }
6363 RT_API_ATTRS TypeCategory category () const {
6464 return static_cast <TypeCategory>(category_);
6565 }
6666 RT_API_ATTRS int kind () const { return kind_; }
6767 RT_API_ATTRS int rank () const { return rank_; }
6868 RT_API_ATTRS std::uint64_t offset () const { return offset_; }
69- const RT_API_ATTRS Value &characterLen () const { return characterLen_; }
70- const RT_API_ATTRS DerivedType *derivedType () const {
69+ RT_API_ATTRS const Value &characterLen () const { return characterLen_; }
70+ RT_API_ATTRS const DerivedType *derivedType () const {
7171 return derivedType_.descriptor ().OffsetElement <const DerivedType>();
7272 }
73- const RT_API_ATTRS Value *lenValue () const {
73+ RT_API_ATTRS const Value *lenValue () const {
7474 return lenValue_.descriptor ().OffsetElement <const Value>();
7575 }
76- const RT_API_ATTRS Value *bounds () const {
76+ RT_API_ATTRS const Value *bounds () const {
7777 return bounds_.descriptor ().OffsetElement <const Value>();
7878 }
79- const RT_API_ATTRS char *initialization () const { return initialization_; }
79+ RT_API_ATTRS const char *initialization () const { return initialization_; }
8080
8181 RT_API_ATTRS std::size_t GetElementByteSize (const Descriptor &) const ;
8282 RT_API_ATTRS std::size_t GetElements (const Descriptor &) const ;
@@ -205,27 +205,27 @@ class DerivedType {
205205public:
206206 ~DerivedType (); // never defined
207207
208- const RT_API_ATTRS Descriptor &binding () const {
208+ RT_API_ATTRS const Descriptor &binding () const {
209209 return binding_.descriptor ();
210210 }
211- const RT_API_ATTRS Descriptor &name () const { return name_.descriptor (); }
211+ RT_API_ATTRS const Descriptor &name () const { return name_.descriptor (); }
212212 RT_API_ATTRS std::uint64_t sizeInBytes () const { return sizeInBytes_; }
213- const RT_API_ATTRS Descriptor &uninstatiated () const {
213+ RT_API_ATTRS const Descriptor &uninstatiated () const {
214214 return uninstantiated_.descriptor ();
215215 }
216- const RT_API_ATTRS Descriptor &kindParameter () const {
216+ RT_API_ATTRS const Descriptor &kindParameter () const {
217217 return kindParameter_.descriptor ();
218218 }
219- const RT_API_ATTRS Descriptor &lenParameterKind () const {
219+ RT_API_ATTRS const Descriptor &lenParameterKind () const {
220220 return lenParameterKind_.descriptor ();
221221 }
222- const RT_API_ATTRS Descriptor &component () const {
222+ RT_API_ATTRS const Descriptor &component () const {
223223 return component_.descriptor ();
224224 }
225- const RT_API_ATTRS Descriptor &procPtr () const {
225+ RT_API_ATTRS const Descriptor &procPtr () const {
226226 return procPtr_.descriptor ();
227227 }
228- const RT_API_ATTRS Descriptor &special () const {
228+ RT_API_ATTRS const Descriptor &special () const {
229229 return special_.descriptor ();
230230 }
231231 RT_API_ATTRS bool hasParent () const { return hasParent_; }
@@ -241,14 +241,14 @@ class DerivedType {
241241 return lenParameterKind ().Elements ();
242242 }
243243
244- const RT_API_ATTRS DerivedType *GetParentType () const ;
244+ RT_API_ATTRS const DerivedType *GetParentType () const ;
245245
246246 // Finds a data component by name in this derived type or its ancestors.
247- const RT_API_ATTRS Component *FindDataComponent (
247+ RT_API_ATTRS const Component *FindDataComponent (
248248 const char *name, std::size_t nameLen) const ;
249249
250250 // O(1) look-up of special procedure bindings
251- const RT_API_ATTRS SpecialBinding *FindSpecialBinding (
251+ RT_API_ATTRS const SpecialBinding *FindSpecialBinding (
252252 SpecialBinding::Which which) const {
253253 auto bitIndex{static_cast <std::uint32_t >(which)};
254254 auto bit{std::uint32_t {1 } << bitIndex};
0 commit comments