Skip to content

Commit 407afbf

Browse files
committed
[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.
1 parent 15fc809 commit 407afbf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ namespace {
2929
class PrintPass final : public llvm::AnalysisInfoMixin<PrintPass> {
3030
friend struct llvm::AnalysisInfoMixin<PrintPass>;
3131

32-
private:
33-
static llvm::AnalysisKey key;
34-
3532
public:
3633
using Result = llvm::PreservedAnalyses;
3734

0 commit comments

Comments
 (0)