From 2aa0bdeb257bff9f6e564d6400294f8441404e18 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 26 Apr 2019 05:56:23 +0000 Subject: [PATCH] Fix typos: (re)?sor?uce -> (re)?source MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://github.com/llvm/llvm-project/pull/10 In-collaboration-with: Olivier Cochard-Labbé Signed-off-by: Enji Cooper Differential Revision: https://reviews.llvm.org/D61021 llvm-svn: 359277 --- llvm/include/llvm/CodeGen/PseudoSourceValue.h | 2 +- llvm/include/llvm/IR/CallSite.h | 2 +- llvm/include/llvm/Target/TargetSchedule.td | 2 +- llvm/tools/llvm-rc/ResourceFileWriter.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/CodeGen/PseudoSourceValue.h b/llvm/include/llvm/CodeGen/PseudoSourceValue.h index fb431d3..4b3cc91 100644 --- a/llvm/include/llvm/CodeGen/PseudoSourceValue.h +++ b/llvm/include/llvm/CodeGen/PseudoSourceValue.h @@ -122,7 +122,7 @@ public: bool mayAlias(const MachineFrameInfo *) const override; }; -/// A specialized pseudo soruce value for holding GlobalValue values. +/// A specialized pseudo source value for holding GlobalValue values. class GlobalValuePseudoSourceValue : public CallEntryPseudoSourceValue { const GlobalValue *GV; diff --git a/llvm/include/llvm/IR/CallSite.h b/llvm/include/llvm/IR/CallSite.h index 1454874..183e387 100644 --- a/llvm/include/llvm/IR/CallSite.h +++ b/llvm/include/llvm/IR/CallSite.h @@ -724,7 +724,7 @@ public: /// through (also identified by position but in the call site instruction). /// /// NOTE that we use LLVM argument numbers (starting at 0) and not - /// clang/soruce argument numbers (starting at 1). The -1 entries represent + /// clang/source argument numbers (starting at 1). The -1 entries represent /// unknown values that are passed to the callee. using ParameterEncodingTy = SmallVector; ParameterEncodingTy ParameterEncoding; diff --git a/llvm/include/llvm/Target/TargetSchedule.td b/llvm/include/llvm/Target/TargetSchedule.td index cbfad5f..a36d259 100644 --- a/llvm/include/llvm/Target/TargetSchedule.td +++ b/llvm/include/llvm/Target/TargetSchedule.td @@ -135,7 +135,7 @@ class ProcResourceKind; // // An optional Super resource may be given to model these resources as // a subset of the more general super resources. Using one of these -// resources implies using one of the super resoruces. +// resources implies using one of the super resources. // // ProcResourceUnits normally model a few buffered resources within an // out-of-order engine. Buffered resources may be held for multiple diff --git a/llvm/tools/llvm-rc/ResourceFileWriter.cpp b/llvm/tools/llvm-rc/ResourceFileWriter.cpp index 78d99e7..44b3fe1 100644 --- a/llvm/tools/llvm-rc/ResourceFileWriter.cpp +++ b/llvm/tools/llvm-rc/ResourceFileWriter.cpp @@ -722,7 +722,7 @@ Error ResourceFileWriter::writeBitmapBody(const RCResource *Base) { // --- CursorResource and IconResource helpers. --- // -// ICONRESDIR structure. Describes a single icon in resouce group. +// ICONRESDIR structure. Describes a single icon in resource group. // // Ref: msdn.microsoft.com/en-us/library/windows/desktop/ms648016.aspx struct IconResDir { -- 2.7.4