Skip to content

Commit d444778

Browse files
committed
C++: Make a few things in SAL.qll private where it looks like that was intended (and they're not used outside the file).
1 parent aa6cb51 commit d444778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Microsoft/SAL.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SALMacro extends Macro {
2727
}
2828
}
2929

30-
pragma[noinline]
30+
private pragma[noinline]
3131
predicate isTopLevelMacroAccess(MacroAccess ma) { not exists(ma.getParentInvocation()) }
3232

3333
/**
@@ -107,7 +107,7 @@ class SALMaybeNull extends SALAnnotation {
107107
* Holds if `a` annotates the declaration entry `d` and
108108
* its start position is the `idx`th position in `file` that holds a SAL element.
109109
*/
110-
predicate annotatesAt(SALAnnotation a, DeclarationEntry d, File file, int idx) {
110+
private predicate annotatesAt(SALAnnotation a, DeclarationEntry d, File file, int idx) {
111111
annotatesAtPosition(a.(SALElement).getStartPosition(), d, file, idx)
112112
}
113113

0 commit comments

Comments
 (0)