Skip to content

Commit e45ea90

Browse files
committed
CPP: Backticks.
1 parent 5fe69c7 commit e45ea90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Access.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class Access extends Expr, NameQualifiableElement {
1818
}
1919

2020
/**
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
2222
* `MYENUMCONST1` in `myFunction` in the following code:
2323
* ```
2424
* enum MyEnum {
@@ -38,10 +38,10 @@ class EnumConstantAccess extends Access, @varaccess {
3838
exists(EnumConstant c | varbind(underlyingElement(this), unresolveElement(c)))
3939
}
4040

41-
/** Gets the accessed enum constant. */
41+
/** Gets the accessed `enum` constant. */
4242
override EnumConstant getTarget() { varbind(underlyingElement(this), unresolveElement(result)) }
4343

44-
/** Gets a textual representation of this enum constant access. */
44+
/** Gets a textual representation of this `enum` constant access. */
4545
override string toString() { result = this.getTarget().getName() }
4646
}
4747

0 commit comments

Comments
 (0)