diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-22 15:18:03 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-22 15:18:03 +0000 |
commit | 135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab (patch) | |
tree | ddc8fab3897e8da85aae453f41a0980781990367 /include/llvm/Support/ErrorOr.h | |
parent | 16da44c56235d4aa12c001d94f87ca1dd8e30837 (diff) | |
download | external_llvm-135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab.tar.gz external_llvm-135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab.tar.bz2 external_llvm-135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab.zip |
Speling fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ErrorOr.h')
-rw-r--r-- | include/llvm/Support/ErrorOr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/ErrorOr.h b/include/llvm/Support/ErrorOr.h index f3ac305fe7..6832e3df2f 100644 --- a/include/llvm/Support/ErrorOr.h +++ b/include/llvm/Support/ErrorOr.h @@ -34,7 +34,7 @@ struct ErrorHolderBase { ErrorHolderBase() : RefCount(1) {} - void aquire() { + void acquire() { ++RefCount; } @@ -308,7 +308,7 @@ private: // Get other's error. Error = Other.Error; HasError = true; - Error->aquire(); + Error->acquire(); } } @@ -437,7 +437,7 @@ public: ErrorOr(const ErrorOr &Other) : Error(0, 0) { Error = Other.Error; if (Other.Error.getPointer()->Error) { - Error.getPointer()->aquire(); + Error.getPointer()->acquire(); } } |