tschuett added a comment. You could use `__cplusplus` to determine the C++ version. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D112175/new/ https://reviews.llvm.org/D112175