Skip to content

Commit 90d8548

Browse files
committed
C/C++ overlay: change discard predicate visibility
1 parent cd09cfb commit 90d8548

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
@@ -75,7 +75,7 @@ private string getSingleLocationFilePath(@element e) {
7575
* Gets the file path for an element with potentially multiple locations.
7676
*/
7777
overlay[local]
78-
private string getMultiLocationFilePath(@element e) {
78+
string getMultiLocationFilePath(@element e) {
7979
exists(@location_default loc |
8080
exists(@var_decl vd | var_decls(vd, e, _, _, loc))
8181
or

0 commit comments

Comments
 (0)