We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ab9a6 commit dfe7dcaCopy full SHA for dfe7dca
cpp/common/src/codingstandards/cpp/Class.qll
@@ -193,8 +193,11 @@ class TrivialMemberFunction extends IntrospectedMemberFunction {
193
*/
194
class TemplateOrTemplateClassMemberFunction extends MemberFunction {
195
TemplateOrTemplateClassMemberFunction() {
196
- isFromUninstantiatedTemplate(_) or
197
- isFromTemplateInstantiation(_)
+(
+ isFromUninstantiatedTemplate(_) or
198
+ isFromTemplateInstantiation(_)
199
+ ) and
200
+ not this.isCompilerGenerated()
201
}
202
203
0 commit comments