Skip to content

Commit be54822

Browse files
committed
Make function static
1 parent 2e9bafe commit be54822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13446,7 +13446,7 @@ bool Sema::GloballyUniqueObjectMightBeAccidentallyDuplicated(
1344613446
// Not perfect: doesn't account for mutable members, for example, or
1344713447
// elements of container types.
1344813448
// For nested pointers, any individual level being non-const is sufficient.
13449-
bool looksMutable(QualType T, const ASTContext &Ctx) {
13449+
static bool looksMutable(QualType T, const ASTContext &Ctx) {
1345013450
T = T.getNonReferenceType();
1345113451
if (T->isFunctionType())
1345213452
return false;

0 commit comments

Comments
 (0)