We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64141b2 commit 7c6dfc9Copy full SHA for 7c6dfc9
cpp/ql/src/semmle/code/cpp/Type.qll
@@ -1201,11 +1201,11 @@ class AutoType extends TemplateParameter
1201
// Internal implementation predicates
1202
//
1203
1204
-predicate allSpecifiers(int i, string s) {
+private predicate allSpecifiers(int i, string s) {
1205
s = rank[i](string t | specifiers(_, t) | t)
1206
}
1207
1208
-predicate internalSpecString(Type t, string res, int i) {
+private predicate internalSpecString(Type t, string res, int i) {
1209
(if allSpecifiers(i, t.getASpecifier().getName())
1210
then exists(string spec, string rest
1211
| allSpecifiers(i, spec) and res = spec + " " + rest
0 commit comments