[clang] eeca616 - [NFC] [FlowSensitive] add comment (#160223)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 23 09:23:06 PDT 2025


Author: Florian Mayer
Date: 2025-09-23T09:23:02-07:00
New Revision: eeca6168428a9e3cee2d0c2800f5d862c5294d20

URL: https://github.com/llvm/llvm-project/commit/eeca6168428a9e3cee2d0c2800f5d862c5294d20
DIFF: https://github.com/llvm/llvm-project/commit/eeca6168428a9e3cee2d0c2800f5d862c5294d20.diff

LOG: [NFC] [FlowSensitive] add comment (#160223)

This will make it easier to understand what the function does without
needing to read the code.

Added: 
    

Modified: 
    clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h b/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
index f653ee94bebe4..6496771ad037e 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