summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-30 14:13:19 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-30 14:13:19 +0000
commit2c51880a828ec68ea11353c27ba42ab75ac85a45 (patch)
treef0e919019a8720ae3cb1f8faf36014faddd9e768 /clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
parent2aa23e892c14487e6703bbf48c356694b98d47eb (diff)
downloadbcm5719-llvm-2c51880a828ec68ea11353c27ba42ab75ac85a45.tar.gz
bcm5719-llvm-2c51880a828ec68ea11353c27ba42ab75ac85a45.zip
Spelling mistakes in comments. NFCI. (PR27635)
llvm-svn: 299083
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
index c14a87c9d2a..21527d8c347 100644
--- a/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
@@ -49,7 +49,7 @@ namespace {
enum class Nullability : char {
Contradicted, // Tracked nullability is contradicted by an explicit cast. Do
// not report any nullability related issue for this symbol.
- // This nullability is propagated agressively to avoid false
+ // This nullability is propagated aggressively to avoid false
// positive results. See the comment on getMostNullable method.
Nullable,
Unspecified,
@@ -57,7 +57,7 @@ enum class Nullability : char {
};
/// Returns the most nullable nullability. This is used for message expressions
-/// like [reciever method], where the nullability of this expression is either
+/// like [receiver method], where the nullability of this expression is either
/// the nullability of the receiver or the nullability of the return type of the
/// method, depending on which is more nullable. Contradicted is considered to
/// be the most nullable, to avoid false positive results.
OpenPOWER on IntegriCloud