[llvm] [clang-tools-extra] [clang] [compiler-rt] [InferAddressSpaces] Fix constant replace to avoid modifying other functions (PR #70611)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 01:59:58 PDT 2023


================
@@ -334,6 +335,15 @@ template<> struct simplify_type<User::const_op_iterator> {
   }
 };
 
+template <> struct GraphTraits<User *> {
----------------
arsenm wrote:

What's the issue with putting this here? Seems nicer than inlining yet another DFS in another place 

https://github.com/llvm/llvm-project/pull/70611


More information about the cfe-commits mailing list