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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits