[PATCH] D77451: Accept -x cu to indicate language is CUDA, transfer CUDA language flag to header-file arguments

Christopher Tetreault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 13:50:38 PDT 2020


ctetreau added inline comments.


================
Comment at: clang/lib/Tooling/InterpolatingCompilationDatabase.cpp:119
+  case types::TY_CUDA_DEVICE:
+    return types::TY_CUDA:
   default:
----------------
ctetreau wrote:
> Syntax error here, master is broken
I went ahead and fixed it.

https://github.com/llvm/llvm-project/commit/2a1418f242ab17d8d8fef6fe829fc1b9363877ca


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77451/new/

https://reviews.llvm.org/D77451





More information about the cfe-commits mailing list