@@ -30,15 +30,15 @@ namespace clang::mrdocs {
3030/* Forward declarations
3131 */
3232#define INFO (Type ) struct Type ##Info;
33- #include < mrdocs/Metadata/InfoNodesPascal .inc>
33+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
3434
3535/* * Info variant discriminator
3636*/
3737enum class InfoKind
3838{
3939 None = 0 ,
4040 #define INFO (Type ) Type,
41- #include < mrdocs/Metadata/InfoNodesPascal .inc>
41+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
4242};
4343
4444/* * Return the name of the InfoKind as a string.
@@ -65,7 +65,7 @@ countInfoKind()
6565{
6666 std::underlying_type_t <InfoKind> count = 0 ;
6767#define INFO (Type ) count++;
68- #include < mrdocs/Metadata/InfoNodesPascal .inc>
68+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
6969 return count;
7070}
7171
@@ -149,7 +149,7 @@ struct MRDOCS_VISIBLE Info
149149 #define INFO (Type ) constexpr bool is##Type() const noexcept { \
150150 return Kind == InfoKind::Type; \
151151 }
152- #include < mrdocs/Metadata/InfoNodesPascal .inc>
152+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
153153
154154 constexpr Info const & asInfo () const noexcept
155155 {
@@ -167,29 +167,29 @@ struct MRDOCS_VISIBLE Info
167167 return reinterpret_cast <Type##Info const &>(*this ); \
168168 MRDOCS_UNREACHABLE (); \
169169 }
170- #include < mrdocs/Metadata/InfoNodesPascal .inc>
170+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
171171
172172 #define INFO (Type ) \
173173 constexpr Type##Info & as##Type() noexcept { \
174174 if (Kind == InfoKind::Type) \
175175 return reinterpret_cast <Type##Info&>(*this ); \
176176 MRDOCS_UNREACHABLE (); \
177177 }
178- #include < mrdocs/Metadata/InfoNodesPascal .inc>
178+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
179179
180180 #define INFO (Type ) \
181181 constexpr Type##Info const * as##Type##Ptr() const noexcept { \
182182 if (Kind == InfoKind::Type) { return reinterpret_cast <Type##Info const *>(this ); } \
183183 return nullptr ; \
184184 }
185- #include < mrdocs/Metadata/InfoNodesPascal .inc>
185+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
186186
187187 #define INFO (Type ) \
188188 constexpr Type##Info * as##Type##Ptr() noexcept { \
189189 if (Kind == InfoKind::Type) { return reinterpret_cast <Type##Info *>(this ); } \
190190 return nullptr ; \
191191 }
192- #include < mrdocs/Metadata/InfoNodesPascal .inc>
192+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
193193
194194 auto operator <=>(Info const &) const = default ;
195195};
@@ -214,7 +214,7 @@ struct InfoCommonBase : Info
214214
215215 #define INFO (Kind ) \
216216 static constexpr bool is##Kind() noexcept { return K == InfoKind::Kind; }
217- #include < mrdocs/Metadata/InfoNodesPascal .inc>
217+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
218218
219219 auto operator <=>(InfoCommonBase const &) const = default ;
220220
@@ -255,7 +255,7 @@ visit(
255255 #define INFO (Type ) \
256256 case InfoKind::Type: \
257257 return visitor.template visit <Type##Info>();
258- #include < mrdocs/Metadata/InfoNodesPascal .inc>
258+ #include < mrdocs/Metadata/Info/InfoNodes .inc>
259259 default :
260260 MRDOCS_UNREACHABLE ();
261261 }
0 commit comments