Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
ping.
After some investigation, I think it is quite hard to add tests to avoid inconsistency between clang and clangd. Maybe I could add some tests for CUDA, OpenMP if needed.
WDYT
Comment Actions
sorry for the delay here. thanks, this LGTM!
i've got a single concern in CompilerInstance::createTarget though. it will overwrite aux target for cuda, openmp and sycl (as it unconditionally sets auxtarget even if it exists).
it doesn't cause any problems today, because CompilerInstance::setAuxTarget is (AFAICT) only called within createTarget, but it might be nice to (on a separate patch) either:
- leave a comment explaining why we overwrite if there's a reason or,
- put it behind the condition of auxtarget being missing
so that future travellers do know what to do.