lebedev.ri added a comment. I think it would be more foolproof to do that in the constructor of the class. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D112472/new/ https://reviews.llvm.org/D112472