mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-26 23:21:11 +00:00
[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:
parent
15fc809404
commit
407afbf1bc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user