@@ -126,7 +126,6 @@ tag_invoke(
126126// Info for functions.
127127struct FunctionInfo final
128128 : InfoCommonBase<InfoKind::Function>
129- , SourceInfo
130129{
131130 // / Info about the return type of this function.
132131 PolymorphicValue<TypeInfo> ReturnType;
@@ -141,35 +140,32 @@ struct FunctionInfo final
141140 FunctionClass Class = FunctionClass::Normal;
142141
143142 NoexceptInfo Noexcept;
144-
145- ExplicitInfo Explicit;
146-
147143 ExprInfo Requires;
148-
149144 bool IsVariadic = false ;
150- bool IsVirtual = false ;
151- bool IsVirtualAsWritten = false ;
152- bool IsPure = false ;
153145 bool IsDefaulted = false ;
154146 bool IsExplicitlyDefaulted = false ;
155147 bool IsDeleted = false ;
156148 bool IsDeletedAsWritten = false ;
157149 bool IsNoReturn = false ;
158150 bool HasOverrideAttr = false ;
159151 bool HasTrailingReturn = false ;
160- bool IsConst = false ;
161- bool IsVolatile = false ;
162- bool IsFinal = false ;
163152 bool IsNodiscard = false ;
164153 bool IsExplicitObjectMemberFunction = false ;
165-
166154 ConstexprKind Constexpr = ConstexprKind::None;
167155 OperatorKind OverloadedOperator = OperatorKind::None;
168156 StorageClassKind StorageClass = StorageClassKind::None;
169- ReferenceKind RefQualifier = ReferenceKind::None;
170-
171157 std::vector<std::string> Attributes;
172158
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+
173169 // --------------------------------------------
174170
175171 explicit FunctionInfo (SymbolID const & ID) noexcept
0 commit comments