summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/AsmParser/llvmAsmParser.y2
-rw-r--r--llvm/lib/Bytecode/Reader/ConstantReader.cpp2
-rw-r--r--llvm/lib/Support/SystemUtils.cpp2
-rw-r--r--llvm/lib/Target/Sparc/EmitAssembly.cpp2
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/AsmParser/llvmAsmParser.y b/llvm/lib/AsmParser/llvmAsmParser.y
index 233d9ea6baa..ae394df6153 100644
--- a/llvm/lib/AsmParser/llvmAsmParser.y
+++ b/llvm/lib/AsmParser/llvmAsmParser.y
@@ -1105,7 +1105,7 @@ ConstExpr: CAST '(' ConstVal TO Types ')' {
};
-// ConstVector - A list of comma seperated constants.
+// ConstVector - A list of comma separated constants.
ConstVector : ConstVector ',' ConstVal {
($$ = $1)->push_back($3);
}
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp
index 32874e2f8b9..8877fe39e37 100644
--- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp
+++ b/llvm/lib/Bytecode/Reader/ConstantReader.cpp
@@ -273,7 +273,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf,
}
case Type::TypeTyID:
- assert(0 && "Type constants should be handled seperately!!!");
+ assert(0 && "Type constants should be handled separately!!!");
abort();
case Type::ArrayTyID: {
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index 97e13067d0a..aca9e5a4026 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/lib/Support/SystemUtils.cpp
@@ -96,7 +96,7 @@ std::string FindExecutable(const std::string &ExeName,
const char *PathStr = getenv("PATH");
if (PathStr == 0) return "";
- // Now we have a colon seperated list of directories to search... try them...
+ // Now we have a colon separated list of directories to search... try them...
unsigned PathLen = strlen(PathStr);
while (PathLen) {
// Find the first colon...
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index f66b36f9be4..6080e99e73f 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -479,7 +479,7 @@ SparcFunctionAsmPrinter::emitBasicBlock(const MachineBasicBlock &MBB)
for (MachineBasicBlock::const_iterator MII = MBB.begin(), MIE = MBB.end();
MII != MIE; ++MII)
emitMachineInst(*MII);
- toAsm << "\n"; // Seperate BB's with newlines
+ toAsm << "\n"; // Separate BB's with newlines
}
void
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index a6d6cbe83c3..0c62d05d2b3 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -686,7 +686,7 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) {
int Slot = Table.getValSlot(BB);
Out << "\n; <label>:";
if (Slot >= 0)
- Out << Slot; // Extra newline seperates out label's
+ Out << Slot; // Extra newline separates out label's
else
Out << "<badref>";
}
OpenPOWER on IntegriCloud