[Mlir-commits] [mlir] [mlir] Add importedEntities field in DIComplileUnitAttr. (PR #188576)
Tobias Gysi
llvmlistbot at llvm.org
Wed Mar 25 23:56:39 PDT 2026
================
----------------
gysit wrote:
```suggestion
if (node->getImportedEntities())
for (llvm::DIImportedEntity *ie : node->getImportedEntities())
if (DINodeAttr import = translate(static_cast<llvm::DINode *>(ie)))
imports.push_back(import);
```
ultra nit: I think the braces are not recommended here plus I would use a slightly longer variable name.
https://github.com/llvm/llvm-project/pull/188576
More information about the Mlir-commits
mailing list