summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
committerChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
commit0ab5e2cdedba59b4f81152d72d70e1796f796834 (patch)
tree2b0d5d1a27ca9c3a382b2c0ed091fd7aebc857cc /llvm/lib/Support/Unix
parentb5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (diff)
downloadbcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.gz
bcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.zip
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes! llvm-svn: 129558
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Program.inc2
-rw-r--r--llvm/lib/Support/Unix/Signals.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc
index 6efc8cd5e4d..9f0a9ef0523 100644
--- a/llvm/lib/Support/Unix/Program.inc
+++ b/llvm/lib/Support/Unix/Program.inc
@@ -236,7 +236,7 @@ Program::Execute(const Path &path, const char **args, const char **envp,
// Create a child process.
int child = fork();
switch (child) {
- // An error occured: Return to the caller.
+ // An error occurred: Return to the caller.
case -1:
MakeErrMsg(ErrMsg, "Couldn't fork");
return false;
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index 0a617591551..fade9069ba7 100644
--- a/llvm/lib/Support/Unix/Signals.inc
+++ b/llvm/lib/Support/Unix/Signals.inc
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
//
// This file defines some helpful functions for dealing with the possibility of
-// Unix signals occuring while your program is running.
+// Unix signals occurring while your program is running.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud