default value for a newly created clang option

I’ve created a new clang option for my target through Options.td. Is there a way to give it a default value?

Usually cfe-dev is better for questions like this.

clang driver options don't inherently have default values; you just compute
a default value if the flag isn't specified. There are some helpers to
simplify this; for example, ArgList::hasFlag lets you specify whether the
default is true or false.

-Eli

Tnanks Eli. That’s the route I’ve taken.