File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
cpp/autosar/src/rules/A2-7-3 Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,8 @@ class DocumentableDeclaration extends Declaration {
50
50
declarationType = "member variable" and
51
51
// Exclude memeber variables in instantiated templates, which cannot reasonably be documented.
52
52
not this .( MemberVariable ) .isFromTemplateInstantiation ( _) and
53
- // Exclude anonymous lambda functions.
54
- // TODO: replace with the following when support is added.
55
- // not this.(MemberVariable).isCompilerGenerated()
56
- not exists ( LambdaExpression lc | lc .getACapture ( ) .getField ( ) = this )
53
+ // Exclude compiler generated variables, such as those for anonymous lambda functions
54
+ not this .( MemberVariable ) .isCompilerGenerated ( )
57
55
}
58
56
59
57
/** Gets a `DeclarationEntry` for this declaration that should be documented. */
You can’t perform that action at this time.
0 commit comments