Skip to content

Commit 293f6a0

Browse files
Apply suggestions from code review
Co-authored-by: mdtoguchi <[email protected]>
1 parent 9652971 commit 293f6a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/tools/clang-offload-deps/ClangOffloadDeps.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
/// It takes linked host image as input and produces bitcode files, one per
1313
/// offload target, containing references to symbols that must be defined in the
1414
/// target images. Dependence bitcode file is then expected to be compiled to an
15-
/// object by the driver using the appropriate offload target toolchain, and
16-
/// dependence object added to the target linker as input together with the
15+
/// object by the driver using the appropriate offload target toolchain. This
16+
/// dependence object is added to the target linker as input together with the
1717
/// other inputs. References to the symbols in dependence object should ensure
1818
/// that target linker pulls in necessary symbol definitions from the input
1919
/// static libraries.
@@ -202,7 +202,7 @@ int main(int argc, const char **argv) {
202202
if (!Used.empty()) {
203203
ArrayType *ArrayTy = ArrayType::get(Int8PtrTy, Used.size());
204204

205-
// For SPIRV linking is done on LLVM IR inputs, so we can use special
205+
// SPIRV linking is done on LLVM IR inputs, so we can use special
206206
// global variable llvm.used to represent a reference to a symbol. But for
207207
// other targets we have to create a real reference since llvm.used may
208208
// not be representable in the object file.

0 commit comments

Comments
 (0)