Skip to content

Commit

Permalink
Fix typos: (re)?sor?uce -> (re)?source
Browse files Browse the repository at this point in the history
Closes: llvm/llvm-project#10

In-collaboration-with:	Olivier Cochard-Labbé <olivier@FreeBSD.org>
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>

Differential Revision: https://reviews.llvm.org/D61021

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359277 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
maskray committed Apr 26, 2019
1 parent 3af8993 commit feb2573
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/PseudoSourceValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class CallEntryPseudoSourceValue : public PseudoSourceValue {
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;

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/IR/CallSite.h
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ class AbstractCallSite {
/// 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<int, 0>;
ParameterEncodingTy ParameterEncoding;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Target/TargetSchedule.td
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-rc/ResourceFileWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit feb2573

Please sign in to comment.