Skip to content

Commit 8ab376a

Browse files
committed
Turn into a const method.
1 parent 54b277c commit 8ab376a

File tree

1 file changed

+1
-1
lines changed
  • clang/include/clang/Sema

1 file changed

+1
-1
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2518,7 +2518,7 @@ class Sema final : public SemaBase {
25182518

25192519
bool BuiltinNonDeterministicValue(CallExpr *TheCall);
25202520

2521-
bool IsBuiltinCountedByRef(const Expr *E) {
2521+
bool IsBuiltinCountedByRef(const Expr *E) const {
25222522
const CallExpr *CE =
25232523
E ? dyn_cast<CallExpr>(E->IgnoreParenImpCasts()) : nullptr;
25242524
return CE && CE->getBuiltinCallee() == Builtin::BI__builtin_counted_by_ref;

0 commit comments

Comments
 (0)