spyffe added a comment.
What I'm getting at here is: OverrideExprOptions just subclasses
clang::TargetOptions if I'm not mistaken. What I might suggest is
virtual bool
OverrideExprOptions (clang::TargetOptions &options)
{
return false; // return true if you actually modified "options"
}
You'd just modify the compiler's target options in place. That way you only
touch the state you care about, and nothing gets dynamically allocated (except
the backing stores for the strings in the TargetOptions...)
http://reviews.llvm.org/D15527
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits