Prepatch for D141970 which makes bare Reloc ambiguous (both
llvm::Reloc and macho::Reloc are visible).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I intentionally avoided including Codegen.h for this reason. Can we use forward declarations instead?
Comment Actions
I didn't think so, but I wasn't certain why; I double checked and realized the prohibition on forward declaring enums only applies when the underlying type is not specified (i.e. the size isn't known).
I'll fix it tomorrow and drop this review; thank you for getting me to check again!