@@ -126,7 +126,6 @@ tag_invoke(
126
126
// Info for functions.
127
127
struct FunctionInfo final
128
128
: InfoCommonBase<InfoKind::Function>
129
- , SourceInfo
130
129
{
131
130
// / Info about the return type of this function.
132
131
PolymorphicValue<TypeInfo> ReturnType;
@@ -141,35 +140,32 @@ struct FunctionInfo final
141
140
FunctionClass Class = FunctionClass::Normal;
142
141
143
142
NoexceptInfo Noexcept;
144
-
145
- ExplicitInfo Explicit;
146
-
147
143
ExprInfo Requires;
148
-
149
144
bool IsVariadic = false ;
150
- bool IsVirtual = false ;
151
- bool IsVirtualAsWritten = false ;
152
- bool IsPure = false ;
153
145
bool IsDefaulted = false ;
154
146
bool IsExplicitlyDefaulted = false ;
155
147
bool IsDeleted = false ;
156
148
bool IsDeletedAsWritten = false ;
157
149
bool IsNoReturn = false ;
158
150
bool HasOverrideAttr = false ;
159
151
bool HasTrailingReturn = false ;
160
- bool IsConst = false ;
161
- bool IsVolatile = false ;
162
- bool IsFinal = false ;
163
152
bool IsNodiscard = false ;
164
153
bool IsExplicitObjectMemberFunction = false ;
165
-
166
154
ConstexprKind Constexpr = ConstexprKind::None;
167
155
OperatorKind OverloadedOperator = OperatorKind::None;
168
156
StorageClassKind StorageClass = StorageClassKind::None;
169
- ReferenceKind RefQualifier = ReferenceKind::None;
170
-
171
157
std::vector<std::string> Attributes;
172
158
159
+ // CXXMethodDecl
160
+ bool IsVirtual = false ;
161
+ bool IsVirtualAsWritten = false ;
162
+ bool IsPure = false ;
163
+ bool IsConst = false ;
164
+ bool IsVolatile = false ;
165
+ bool IsFinal = false ;
166
+ ReferenceKind RefQualifier = ReferenceKind::None;
167
+ ExplicitInfo Explicit;
168
+
173
169
// --------------------------------------------
174
170
175
171
explicit FunctionInfo (SymbolID const & ID) noexcept
0 commit comments