Are RTTI and exception handling usable in clang plugins?

When I build clang with clang++, using cmake+ninja, the build seems to want to disable RTTI and exceptions. Is this really the default? If so, is there some reason to turn them off, or is this just for the sake of efficiency?

Also, does anyone know if it’s possible to use the boost libraries in clang tools or plugins.

Thanks.

When I build clang with clang++, using cmake+ninja, the build seems to want
to disable RTTI and exceptions. Is this really the default? If so, is
there some reason to turn them off, or is this just for the sake of
efficiency?

Nothing will break if you turn them on. (But don't try to throw
exceptions through LLVM code anyway.)

Also, does anyone know if it's possible to use the boost libraries in clang
tools or plugins.

I can't think of any reason that wouldn't work.

-Eli