Skip to content

Commit

Permalink
[clang][ThreadSafety][NFC] Make isReference() const
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Jun 6, 2023
1 parent 6afc4b0 commit 648931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Analysis/ThreadSafety.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class LocalVariableMap {
// The map with which Exp should be interpreted.
Context Ctx;

bool isReference() { return !Exp; }
bool isReference() const { return !Exp; }

private:
// Create ordinary variable definition
Expand Down

0 comments on commit 648931b

Please sign in to comment.