[CUDA] Accept -x cu to indicate language is CUDA, transfer CUDA language flag to...
authorADRA <plugin2adra@gmail.com>
Thu, 9 Apr 2020 20:02:38 +0000 (13:02 -0700)
committerArtem Belevich <tra@google.com>
Thu, 9 Apr 2020 20:08:41 +0000 (13:08 -0700)
commit6ed88afd780cc2cd04e50e25c5d3ffafc07b1c1b
treecc5236edf6782e9fb7badf2a3a3a26e3fe001433
parenteccfa35d53fbc78b09df6b4e58905e9d1d4c1c9a
[CUDA] Accept -x cu to indicate language is CUDA, transfer CUDA language flag to header-file arguments

Summary:
* accept -x cu to indicate language is CUDA
* transfer CUDA language flag to header-file arguments

Differential Revision: https://reviews.llvm.org/D77451
clang/lib/Driver/Types.cpp
clang/lib/Tooling/InterpolatingCompilationDatabase.cpp