https://github.com/jvoung created 
https://github.com/llvm/llvm-project/pull/113601
Disambiguate to fix a build error (e.g., on windows with clang-cl)


>From f5470d4bee2ab991942d6640dd48631ca343bc85 Mon Sep 17 00:00:00 2001
From: Jan Voung <jvo...@gmail.com>
Date: Thu, 24 Oct 2024 17:37:03 +0000
Subject: [PATCH] [clang][dataflow] Disambiguate a ref to "internal" in
 CachedConstAccessorsLattice

Disambiguate to fix a build error (e.g., on windows with clang-cl)
---
 .../Analysis/FlowSensitive/CachedConstAccessorsLattice.h   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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);
 

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to