diff options
author | Reka Kovacs <rekanikolett@gmail.com> | 2018-07-16 20:47:45 +0000 |
---|---|---|
committer | Reka Kovacs <rekanikolett@gmail.com> | 2018-07-16 20:47:45 +0000 |
commit | ed8c05cc99c3b21ca0667908881df6b10eebc5b5 (patch) | |
tree | a8659b9b1c0e7eda0901f51a66bddc0726b4c16f /clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp | |
parent | 810ed5b40767079459011c956cbe2feed5487d30 (diff) | |
download | bcm5719-llvm-ed8c05cc99c3b21ca0667908881df6b10eebc5b5.tar.gz bcm5719-llvm-ed8c05cc99c3b21ca0667908881df6b10eebc5b5.zip |
[analyzer] Make checkEndFunction() give access to the return statement.
Differential Revision: https://reviews.llvm.org/D49387
llvm-svn: 337215
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp index 495486bf393..7862a4c2568 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp @@ -192,7 +192,7 @@ public: /// level or is inlined. /// /// check::EndFunction - void checkEndFunction(CheckerContext &Ctx) const {} + void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {} /// Called after all the paths in the ExplodedGraph reach end of path /// - the symbolic execution graph is fully explored. |