File tree 1 file changed +3
-3
lines changed
cpp/common/src/codingstandards/cpp
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ private UserDeclaration getPotentialScopeOfDeclaration_candidate(UserDeclaration
149
149
)
150
150
}
151
151
152
- /** Gets a Declarationthat is in the potential scope of Declaration `v`. */
153
- private UserDeclaration getOuterScopesOfDeclaration_candidate ( UserDeclaration v ) {
152
+ /** Gets a Declaration that is in the potential scope of Declaration `v`. */
153
+ private UserDeclaration getPotentialScopeOfDeclarationStrict_candidate ( UserDeclaration v ) {
154
154
exists ( Scope s |
155
155
result = s .getADeclaration ( ) and
156
156
(
@@ -175,7 +175,7 @@ predicate inSameTranslationUnit(File f1, File f2) {
175
175
*/
176
176
cached
177
177
UserDeclaration getPotentialScopeOfDeclarationStrict ( UserDeclaration v ) {
178
- result = getOuterScopesOfDeclaration_candidate ( v ) and
178
+ result = getPotentialScopeOfDeclarationStrict_candidate ( v ) and
179
179
inSameTranslationUnit ( v .getFile ( ) , result .getFile ( ) )
180
180
}
181
181
You can’t perform that action at this time.
0 commit comments