Commit c125942
[CUDA][NFC] Fix an unused variable error when compiled with optimization (llvm#170205)
llvm#165519 causes some builds to fail.
[clang/lib/CodeGen/CGCUDARuntime.cpp:65]:15: error: unused variable
'Ctx' [-Werror,-Wunused-variable]
65 | ASTContext &Ctx = CGM.getContext();1 parent bb48ea5 commit c125942
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments