sscalpone added a comment. LLVM_ATTRIBUTE_UNUSED seems like the right path. Are there are features of Compiler.h that ought to be used? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78356/new/ https://reviews.llvm.org/D78356