[clang] [NFC] [FlowSensitive] add comment (PR #160223)
Florian Mayer via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 22 19:55:25 PDT 2025
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/160223
This will make it easier to understand what the function does without
needing to read the code.
>From 6ce762f55a02edec8cd3daf3a7c93da6240dc243 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Mon, 22 Sep 2025 19:55:12 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
.../clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h b/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
index 78b03d325efd9..257f96a3a4bc8 100644
--- a/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
+++ b/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
@@ -121,6 +121,7 @@ joinConstMethodMap(
llvm::SmallDenseMap<const FunctionDecl *, T *>>
&Map2,
LatticeEffect &Effect) {
+ // Intersect the two maps, and note if change was made.
llvm::SmallDenseMap<const RecordStorageLocation *,
llvm::SmallDenseMap<const FunctionDecl *, T *>>
Result;
More information about the cfe-commits
mailing list