File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/ql/src/semmle/code/cpp/exprs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ abstract class Access extends Expr, NameQualifiableElement {
18
18
}
19
19
20
20
/**
21
- * A C/C++ enum constant access expression. For example the access to
21
+ * A C/C++ ` enum` constant access expression. For example the access to
22
22
* `MYENUMCONST1` in `myFunction` in the following code:
23
23
* ```
24
24
* enum MyEnum {
@@ -38,10 +38,10 @@ class EnumConstantAccess extends Access, @varaccess {
38
38
exists ( EnumConstant c | varbind ( underlyingElement ( this ) , unresolveElement ( c ) ) )
39
39
}
40
40
41
- /** Gets the accessed enum constant. */
41
+ /** Gets the accessed ` enum` constant. */
42
42
override EnumConstant getTarget ( ) { varbind ( underlyingElement ( this ) , unresolveElement ( result ) ) }
43
43
44
- /** Gets a textual representation of this enum constant access. */
44
+ /** Gets a textual representation of this ` enum` constant access. */
45
45
override string toString ( ) { result = this .getTarget ( ) .getName ( ) }
46
46
}
47
47
You can’t perform that action at this time.
0 commit comments