diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-02 03:50:25 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-02 03:50:25 +0000 |
commit | 5faf0c00dcf9dadd5d8f875700c0b911a15827b7 (patch) | |
tree | 94c56e19d9c9e96ca664fe879f37ca8a6c327686 /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | |
parent | fff0674ae092c91490dae7120101ae68beb65aaf (diff) | |
download | bcm5719-llvm-5faf0c00dcf9dadd5d8f875700c0b911a15827b7.tar.gz bcm5719-llvm-5faf0c00dcf9dadd5d8f875700c0b911a15827b7.zip |
Correct a user-visible static analyzer message typo
llvm-svn: 196062
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index e5e016ca6d0..3702977bd82 100644 --- a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp @@ -48,7 +48,7 @@ class RefState { Allocated, // Reference to released/freed memory. Released, - // The responsibility for freeing resources has transfered from + // The responsibility for freeing resources has transferred from // this reference. A relinquished symbol should not be freed. Relinquished, // We are no longer guaranteed to have observed all manipulations @@ -2130,7 +2130,7 @@ MallocChecker::MallocBugVisitor::VisitNode(const ExplodedNode *N, StackHint = new StackHintGeneratorForSymbol(Sym, "Returning; memory was released"); } else if (isRelinquished(RS, RSPrev, S)) { - Msg = "Memory ownership is transfered"; + Msg = "Memory ownership is transferred"; StackHint = new StackHintGeneratorForSymbol(Sym, ""); } else if (isReallocFailedCheck(RS, RSPrev, S)) { Mode = ReallocationFailed; |