Skip to content

Commit

Permalink
Address new review comments
Browse files Browse the repository at this point in the history
Signed-off-by: chenwei.sun <[email protected]>
  • Loading branch information
tomflinda committed Apr 2, 2024
1 parent 5f510e9 commit fd69398
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clang/lib/DPCT/DiagnosticsCMakeScriptMigration.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
//===----------------------------------------------------------------------===//

// FORMAT: {NAME, ID, MESSAGE}
DEF_COMMENT(CMAKE_NOT_SUPPORT_WARNING, 3000, "migration of syntax \"{0}\" is not supported, you may need to adjust the code.")
DEF_COMMENT(CMAKE_NOT_SUPPORT_WARNING, 3000, "Migration of syntax \"{0}\" is not supported, you may need to adjust the code.")
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
// CHECK: begin
// CHECK-NEXT: end

// grep "input.cmake:1:warning:DPCT3000:0: migration of syntax \"cuda_select_nvcc_arch_flags\" is not supported, you may need to adjust the code." ./migration.log
// grep "input.cmake:1:warning:DPCT3000:0: Migration of syntax \"cuda_select_nvcc_arch_flags\" is not supported, you may need to adjust the code." ./migration.log
2 changes: 1 addition & 1 deletion clang/test/dpct/cmake_migration/case_038/expected.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# DPCT3000:1: migration of syntax "cuda_select_nvcc_arch_flags" is not supported, you may need to adjust the code.
# DPCT3000:1: Migration of syntax "cuda_select_nvcc_arch_flags" is not supported, you may need to adjust the code.
cuda_select_nvcc_arch_flags(CUSTOM_FLAGS 3.0 FOO_ARCH)

0 comments on commit fd69398

Please sign in to comment.