Reviewers: tra, yaxunl
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68663
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374167
91177308-0d34-0410-b5e6-
96231b3b80d8
"Current supported types are:\n"
" i - cpp-output\n"
" ii - c++-cpp-output\n"
+ " cui - cuda/hip-output\n"
+ " d - dependency\n"
" ll - llvm\n"
" bc - llvm-bc\n"
" s - assembler\n"
return new TextFileHandler(/*Comment=*/"//");
if (FilesType == "ii")
return new TextFileHandler(/*Comment=*/"//");
+ if (FilesType == "cui")
+ return new TextFileHandler(/*Comment=*/"//");
+ // TODO: `.d` should be eventually removed once `-M` and its variants are
+ // handled properly in offload compilation.
+ if (FilesType == "d")
+ return new TextFileHandler(/*Comment=*/"#");
if (FilesType == "ll")
return new TextFileHandler(/*Comment=*/";");
if (FilesType == "bc")