[Mlir-commits] [mlir] [mlir][debug] Handle DIImportedEntity. (PR #103055)

Christian Ulmann llvmlistbot at llvm.org
Mon Aug 19 08:56:36 PDT 2024


================
@@ -306,6 +306,18 @@ llvm::DISubprogram *DebugTranslation::translateImpl(DISubprogramAttr attr) {
       static_cast<llvm::DISubprogram::DISPFlags>(attr.getSubprogramFlags()),
       compileUnit);
 
+  SmallVector<llvm::Metadata *> retainedNodes;
+
+  for (auto nodeAttr : attr.getRetainedNodes()) {
----------------
Dinistro wrote:

Nit: Do not use auto here.

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


More information about the Mlir-commits mailing list