]> granicus.if.org Git - clang/commitdiff
[NFC] fix trivial typos in comments
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 29 Jan 2018 05:15:18 +0000 (05:15 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 29 Jan 2018 05:15:18 +0000 (05:15 +0000)
"to to" -> "to"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/opencl-c.h
test/Driver/cl-pch-search.cpp
tools/clang-offload-bundler/ClangOffloadBundler.cpp

index 88ab456abdfa7d2d9ac1a4604ad36e3f1dea3b48..e648b0f2f370453c0e4b72bd2a19a8c80b464055 100644 (file)
@@ -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
index bc74c784bf08fa1382543759b3c9a535455e82e2..5c072c3b7f788394c12f2436703b4ddc44c6df86 100644 (file)
@@ -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
index 6ff4becb5030e8342c7d5d15543d0e64351d16e7..1df165624459af4c616d327d63d4086c9a4767e9 100644 (file)
@@ -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