seeing existence of clang::frontendoptions::pluginargs think possible. i've failed find documentation on how pass arguments plugin via command line.
i've tried preceding argument -xclang, i've tried combining plugin arguments (e.g., "test-plugin args"), , i've attempted scour internet. know answer?
to give arguments plugin, should use -plugin-arg-your-plugin command. example, if plugin's name test-plugin , want give argument "help", command :
clang -cc1 -load ~/path/to/your/clang/library -plugin test-plugin -plugin-arg-test-plugin help
hope help
Comments
Post a Comment