-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[clang][dataflow] Disambiguate a ref to "internal" in CachedConstAccessorsLattice #113601
[clang][dataflow] Disambiguate a ref to "internal" in CachedConstAccessorsLattice #113601
Conversation
…ssorsLattice Disambiguate to fix a build error (e.g., on windows with clang-cl)
@llvm/pr-subscribers-clang-analysis Author: Jan Voung (jvoung) ChangesDisambiguate to fix a build error (e.g., on windows with clang-cl) Full diff: https://github.com/llvm/llvm-project/pull/113601.diff 1 Files Affected:
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);
|
@llvm/pr-subscribers-clang Author: Jan Voung (jvoung) ChangesDisambiguate to fix a build error (e.g., on windows with clang-cl) Full diff: https://github.com/llvm/llvm-project/pull/113601.diff 1 Files Affected:
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);
|
I think this'll fix the build, thanks! However, the root cause is probably that the |
Ah, missed the part where the macro is generating the There seem to be other recommendations in the header
like putting in clang::ast_matchers::unnamed... (though I'm not sure if they mean exactly clang::ast_matchers .
Let me try and check with the team. |
…ssorsLattice (llvm#113601) Disambiguate to fix a build error (e.g., on windows with clang-cl)
Disambiguate to fix a build error (e.g., on windows with clang-cl)