[clang] [llvm] [IR] Don't use TrackingMDNodeRef for DebugLoc (PR #200649)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Sun May 31 05:14:16 PDT 2026


================
@@ -240,7 +229,7 @@ class DebugLoc {
   explicit operator bool() const { return Loc; }
 
   /// Check whether this has a trivial destructor.
-  bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); }
+  bool hasTrivialDestructor() const { return true; }
----------------
nikic wrote:

Can this be dropped now?

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


More information about the cfe-commits mailing list