This commit is contained in:
ringabout
2025-01-08 19:32:40 +08:00
parent 237669a1b2
commit 67d80c4971

View File

@@ -235,7 +235,7 @@ proc isImportedType(t: PType): bool =
result = t.sym != nil and sfImportc in t.sym.flags
proc isNoDeclType(t: PType): bool =
result = t.sym != nil and {lfNoDecl, lfHeader} * t.sym.loc.flags = {}
result = t.sym != nil and {lfNoDecl, lfHeader} * t.sym.loc.flags != {}
proc isImportedCppType(t: PType): bool =
let x = t.skipTypes(irrelevantForBackend)