[clang] 648931b - [clang][ThreadSafety][NFC] Make isReference() const
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 6 02:20:12 PDT 2023
Author: Timm Bäder
Date: 2023-06-06T11:19:53+02:00
New Revision: 648931ba6137ab6bfdecbc7512599943ed709d04
URL: https://github.com/llvm/llvm-project/commit/648931ba6137ab6bfdecbc7512599943ed709d04
DIFF: https://github.com/llvm/llvm-project/commit/648931ba6137ab6bfdecbc7512599943ed709d04.diff
LOG: [clang][ThreadSafety][NFC] Make isReference() const
Added:
Modified:
clang/lib/Analysis/ThreadSafety.cpp
Removed:
################################################################################
diff --git a/clang/lib/Analysis/ThreadSafety.cpp b/clang/lib/Analysis/ThreadSafety.cpp
index 9041000b0ff7a..ef7d2cf1ebec2 100644
--- a/clang/lib/Analysis/ThreadSafety.cpp
+++ b/clang/lib/Analysis/ThreadSafety.cpp
@@ -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
More information about the cfe-commits
mailing list