Skip to content

Commit 1046f3c

Browse files
committed
[IRGen] Remove unused ObjC image info flags.
We rely on Clang to set these properly now. No functionality change.
1 parent def2846 commit 1046f3c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@ static void addAddressSanitizerPasses(const PassManagerBuilder &Builder,
9090
PM.add(createAddressSanitizerModulePass());
9191
}
9292

93-
// FIXME: Copied from clang/lib/CodeGen/CGObjCMac.cpp.
94-
// These should be moved to a single definition shared by clang and swift.
95-
enum ImageInfoFlags {
96-
eImageInfo_FixAndContinue = (1 << 0),
97-
eImageInfo_GarbageCollected = (1 << 1),
98-
eImageInfo_GCOnly = (1 << 2),
99-
eImageInfo_OptimizedByDyld = (1 << 3),
100-
eImageInfo_CorrectedSynthesize = (1 << 4),
101-
eImageInfo_ImageIsSimulated = (1 << 5)
102-
};
103-
10493
std::tuple<llvm::TargetOptions, std::string, std::vector<std::string>>
10594
swift::getIRTargetOptions(IRGenOptions &Opts, ASTContext &Ctx) {
10695
// Things that maybe we should collect from the command line:

0 commit comments

Comments
 (0)