clang command line options handling.....

how can i add new command line option to Clang?
I want to have new command line option that user can specify during compilation using clang.
For example: clang -myoption arg1 arg2 arg3 test.cpp
here “myoption” is the switch that i want to add and arg1,arg2,arg3 are arguments for the switch “myoption”.

1 Like