Skip to content

Commit

Permalink
new command line
Browse files Browse the repository at this point in the history
  • Loading branch information
zhurongjun committed Aug 26, 2024
1 parent eb6ac39 commit f919726
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ static llvm::cl::opt<std::string>
llvm::cl::desc("Specify parse root directory"), ToolCategory,
llvm::cl::value_desc("directory"));

// new command args
// static llvm::cl::opt<std::string> Config(
// "config", llvm::cl::Required,
// llvm::cl::desc("Specify config file"),
// ToolCategory, llvm::cl::value_desc("file path"));
// static llvm::cl::opt<std::string> Outdir(
// "outdir", llvm::cl::Required,
// llvm::cl::desc("Specify database output directory, depending on extension"),
// ToolCategory, llvm::cl::value_desc("directory"));

// custom action
static meta::FileDataMap data_map;
class ReflectFrontendAction : public clang::ASTFrontendAction {
Expand Down

0 comments on commit f919726

Please sign in to comment.