It was added in 2014 in732e0aa9fbwith one use in Scalarizer.cpp. That one use was then removed when porting to the new pass manager in 2018 inb6f76002d9. While the RFC and the desire to get off of static initializers for cl::opt all still stand, this code is now dead, and I think we should delete this code until someone is ready to do the migration. There were many clients of CommandLine.h that were it transitively through LLVMContext.h, so I cleaned that up in4c1a1d3cf9. Reviewers: beanz Differential Revision: https://reviews.llvm.org/D70280
4.9 KiB
4.9 KiB