Commit 327843a5 authored by nagayama15's avatar nagayama15

🔧 修飾子の指定を修正

parent 0da59d7d
...@@ -58,7 +58,7 @@ namespace ...@@ -58,7 +58,7 @@ namespace
: public llvm::FunctionPass : public llvm::FunctionPass
{ {
public: public:
static char ID; // Needed for LLVM. static inline char ID; // Needed for LLVM.
/** /**
* @brief Constructor. * @brief Constructor.
...@@ -181,8 +181,6 @@ namespace ...@@ -181,8 +181,6 @@ namespace
std::vector<std::vector<std::uint8_t>> perm_table_; std::vector<std::vector<std::uint8_t>> perm_table_;
}; };
char BlockWatermarkPass::ID;
// Registers pass. // Registers pass.
const llvm::RegisterPass<BlockWatermarkPass> pass_registry = const llvm::RegisterPass<BlockWatermarkPass> pass_registry =
{ {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
namespace nykk::pass namespace nykk::pass
{ {
const llvm::cl::opt<std::string> watermark_opt inline const llvm::cl::opt<std::string> watermark_opt
{ {
"watermark", "watermark",
llvm::cl::desc("Watermark (32bit)"), llvm::cl::desc("Watermark (32bit)"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment