commit | 92c39c4b39a6183dbe1490b696000b3b0b4d504d | [log] [tgz] |
---|---|---|
author | oToToT <ty1208chiang@gmail.com> | Tue Apr 06 23:21:19 2021 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:06:02 2021 -0700 |
tree | b0ea32af71159b0eb652f836f04515f1c403b89a | |
parent | 46870a0d06191d2755d0688405433d57da6f8e4c [diff] |
[clang][clangd] Avoid inconsistent target creation As proposed in D97109, I tried to make target creation consistent in `clang` and `clangd` by replacing the original procedure with a single function introduced in D97493. This also helps `clangd` works with CUDA, OpenMP, etc. Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D98128 GitOrigin-RevId: 14a7296c0120913e949739e4e90ea5a5f1bd8af1