[clang][examples] Remove unused variable 'key' in LLVMPrintFunctionNames.cpp (NFC)

/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:33:28: error: unused variable 'key' [-Werror,-Wunused-variable]
  static llvm::AnalysisKey key;
                           ^
1 error generated.
This commit is contained in:
Jie Fu 2023-11-07 13:09:20 +08:00
parent 15fc809404
commit 407afbf1bc

View File

@ -29,9 +29,6 @@ namespace {
class PrintPass final : public llvm::AnalysisInfoMixin<PrintPass> {
friend struct llvm::AnalysisInfoMixin<PrintPass>;
private:
static llvm::AnalysisKey key;
public:
using Result = llvm::PreservedAnalyses;