aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/AsmParser/llvmAsmParser.y2
-rw-r--r--lib/Bytecode/Reader/ConstantReader.cpp2
-rw-r--r--lib/Support/SystemUtils.cpp2
-rw-r--r--lib/Target/SparcV9/SparcV9AsmPrinter.cpp2
-rw-r--r--lib/VMCore/AsmWriter.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index 233d9ea6ba..ae394df615 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/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/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp
index 32874e2f8b..8877fe39e3 100644
--- a/lib/Bytecode/Reader/ConstantReader.cpp
+++ b/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/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp
index 97e13067d0..aca9e5a402 100644
--- a/lib/Support/SystemUtils.cpp
+++ b/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/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
index f66b36f9be..6080e99e73 100644
--- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
+++ b/lib/Target/SparcV9/SparcV9AsmPrinter.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/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index a6d6cbe83c..0c62d05d2b 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/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>";
}