File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/common/src/codingstandards/cpp Expand file tree Collapse file tree 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
149149 )
150150}
151151
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 ) {
154154 exists ( Scope s |
155155 result = s .getADeclaration ( ) and
156156 (
@@ -175,7 +175,7 @@ predicate inSameTranslationUnit(File f1, File f2) {
175175 */
176176cached
177177UserDeclaration getPotentialScopeOfDeclarationStrict ( UserDeclaration v ) {
178- result = getOuterScopesOfDeclaration_candidate ( v ) and
178+ result = getPotentialScopeOfDeclarationStrict_candidate ( v ) and
179179 inSameTranslationUnit ( v .getFile ( ) , result .getFile ( ) )
180180}
181181
You can’t perform that action at this time.
0 commit comments