Skip to content

Commit 81ad58e

Browse files
committed
C/C++ overlay: change discard predicate visibility
1 parent ede05b5 commit 81ad58e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/internal/Overlay.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private string getLocationFilePath(@location_default loc) {
2121
* Gets the file path for an element with a single location.
2222
*/
2323
overlay[local]
24-
private string getSingleLocationFilePath(@element e) {
24+
string getSingleLocationFilePath(@element e) {
2525
exists(@location_default loc |
2626
var_decls(e, _, _, _, loc)
2727
or
@@ -43,7 +43,7 @@ private string getSingleLocationFilePath(@element e) {
4343
* Gets the file path for an element with potentially multiple locations.
4444
*/
4545
overlay[local]
46-
private string getMultiLocationFilePath(@element e) {
46+
string getMultiLocationFilePath(@element e) {
4747
exists(@location_default loc |
4848
exists(@var_decl vd | var_decls(vd, e, _, _, loc))
4949
or

0 commit comments

Comments
 (0)