tambre added a comment.
Thanks for the context!
To avoid other people stepping into this trap, maybe it'd make sense to reword
this warning to say "unsupported" instead of "unknown"?
Or maybe add detection for newer versions, but introduce a separate warning for
unsupported versions?
Reposito
tra requested changes to this revision.
tra added a comment.
This revision now requires changes to proceed.
This looks like an elaborate way to achieve the effect of
`-Wno-unknown_cuda_version`. :-)
Similar change has been discussed recently. See
https://reviews.llvm.org/D74571#1875340 which de
tambre created this revision.
tambre added reviewers: tra, jlebar.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75806
Files:
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Driver/