From: Hiroshi Inoue Date: Mon, 29 Jan 2018 05:15:18 +0000 (+0000) Subject: [NFC] fix trivial typos in comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c08d9830124a75675348b4eeb47256f3da6693d;p=clang [NFC] fix trivial typos in comments "to to" -> "to" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323627 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/opencl-c.h b/lib/Headers/opencl-c.h index 88ab456abd..e648b0f2f3 100644 --- a/lib/Headers/opencl-c.h +++ b/lib/Headers/opencl-c.h @@ -12862,7 +12862,7 @@ void __ovld mem_fence(cl_mem_fence_flags flags); * Read memory barrier that orders only * loads. * The flags argument specifies the memory - * address space and can be set to to a + * address space and can be set to a * combination of the following literal * values: * CLK_LOCAL_MEM_FENCE @@ -12874,7 +12874,7 @@ void __ovld read_mem_fence(cl_mem_fence_flags flags); * Write memory barrier that orders only * stores. * The flags argument specifies the memory - * address space and can be set to to a + * address space and can be set to a * combination of the following literal * values: * CLK_LOCAL_MEM_FENCE diff --git a/test/Driver/cl-pch-search.cpp b/test/Driver/cl-pch-search.cpp index bc74c784bf..5c072c3b7f 100644 --- a/test/Driver/cl-pch-search.cpp +++ b/test/Driver/cl-pch-search.cpp @@ -2,5 +2,5 @@ // command-line option, e.g. on Mac where %s is commonly under /Users. // REQUIRES: x86-registered-target -// Check that pchfile.h next to to pchfile.cc is found correctly. +// Check that pchfile.h next to pchfile.cc is found correctly. // RUN: %clang_cl -Werror --target=x86_64-windows /Ycpchfile.h /FIpchfile.h /c /Fo%t.obj /Fp%t.pch -- %S/Inputs/pchfile.cpp diff --git a/tools/clang-offload-bundler/ClangOffloadBundler.cpp b/tools/clang-offload-bundler/ClangOffloadBundler.cpp index 6ff4becb50..1df1656244 100644 --- a/tools/clang-offload-bundler/ClangOffloadBundler.cpp +++ b/tools/clang-offload-bundler/ClangOffloadBundler.cpp @@ -412,7 +412,7 @@ class ObjectFileHandler final : public FileHandler { /// read from the buffers. unsigned NumberOfProcessedInputs = 0; - /// LLVM context used to to create the auxiliary modules. + /// LLVM context used to create the auxiliary modules. LLVMContext VMContext; /// LLVM module used to create an object with all the bundle