[clang] 8aa69a0 - [clang][dataflow] Disambiguate a ref to "internal" in CachedConstAccessorsLattice (#113601)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 12:23:44 PDT 2024


Author: Jan Voung
Date: 2024-10-24T15:23:40-04:00
New Revision: 8aa69a0d02e99e50db0242f75a192b1c2d826528

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

LOG: [clang][dataflow] Disambiguate a ref to "internal" in CachedConstAccessorsLattice (#113601)

Disambiguate to fix a build error (e.g., on windows with clang-cl)

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 3402d105746e88..48c5287367739a 100644
--- a/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
+++ b/clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
@@ -154,11 +154,12 @@ LatticeEffect CachedConstAccessorsLattice<Base>::join(
   // are non-identical but equivalent. This is likely to be sufficient in
   // practice, and it reduces implementation complexity considerably.
 
-  ConstMethodReturnValues = internal::joinConstMethodMap<Value>(
-      ConstMethodReturnValues, Other.ConstMethodReturnValues, Effect);
+  ConstMethodReturnValues =
+      clang::dataflow::internal::joinConstMethodMap<dataflow::Value>(
+          ConstMethodReturnValues, Other.ConstMethodReturnValues, Effect);
 
   ConstMethodReturnStorageLocations =
-      internal::joinConstMethodMap<StorageLocation>(
+      clang::dataflow::internal::joinConstMethodMap<dataflow::StorageLocation>(
           ConstMethodReturnStorageLocations,
           Other.ConstMethodReturnStorageLocations, Effect);
 


        


More information about the cfe-commits mailing list