summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-09-20 18:28:04 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-09-20 18:28:04 +0000
commit76f2591671046d33711bf9f8b1b6f730e53d974f (patch)
tree7899bd0ce0ed1365fecc7e8cabd7ffac0caf8b9d
parent796b29ce7df5c13ee22e99b4d8772915c2fcfedb (diff)
downloadclang-76f2591671046d33711bf9f8b1b6f730e53d974f.tar.gz
Fix a documentation error
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372419 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 144096f808..27a40e35d6 100644
--- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -550,7 +550,7 @@ private:
/// Models memory reallocation.
///
/// \param [in] CE The expression that reallocated memory
- /// \param [in] FreesMemOnFailure Whether if reallocation fails, the supplied
+ /// \param [in] ShouldFreeOnFail Whether if reallocation fails, the supplied
/// memory should be freed.
/// \param [in] State The \c ProgramState right before reallocation.
/// \param [in] SuffixWithN Whether the reallocation function we're modeling