Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
thanks, lgtm!
clang/lib/Frontend/CompilerInstance.cpp | ||
---|---|---|
109 | can we just do !getAuxTarget() and not introduce hasAuxTarget() ? i don't think the new api in the interface provides much value. |
clang/lib/Frontend/CompilerInstance.cpp | ||
---|---|---|
109 | After some thinking, I’m wondering might it be more flexible if we add an option to let the user determine whether overwrite AuxTarget by themselves? Like changing the prototype to |
clang/lib/Frontend/CompilerInstance.cpp | ||
---|---|---|
109 | i think it is better to let the clients clear the target before hand via setAuxTarget(nullptr) (or not set it at all), then confuse them with (defaulted) extra options when calling some function. |
can we just do !getAuxTarget() and not introduce hasAuxTarget() ? i don't think the new api in the interface provides much value.