]> granicus.if.org Git - clang/commitdiff
[analyzer] Update two comments in MPI-Checker. NFC.
authorDevin Coughlin <dcoughlin@apple.com>
Tue, 2 Aug 2016 23:24:40 +0000 (23:24 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Tue, 2 Aug 2016 23:24:40 +0000 (23:24 +0000)
Correct two comments that do not match the current behavior of the checker.

A patch by Alexander Droste!

Differential Revision: https://reviews.llvm.org/D22670

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277547 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.h

index 22fbf4c5b303d574d6d8d3ae4931d8f8fcfb69cb..8474d2d194e80acaaed6a1229573dc346ad8d5b5 100644 (file)
@@ -46,9 +46,7 @@ public:
                                const ExplodedNode *const ExplNode,
                               BugReporter &BReporter) const;
 
-  /// Report a missing wait for a nonblocking call. A missing wait report
-  /// is emitted if a nonblocking call is not matched in the scope of a
-  /// function.
+  /// Report a missing wait for a nonblocking call.
   ///
   /// \param Req request that is not matched by a wait
   /// \param RequestRegion memory region of the request
index 45bfd3b84bb1063165b3a1448f745f91d2f132b7..6b1c062ef3d5bf64f04f0fa9888b6d945b2dcec4 100644 (file)
@@ -59,10 +59,9 @@ public:
   void checkDoubleNonblocking(const clang::ento::CallEvent &PreCallEvent,
                               clang::ento::CheckerContext &Ctx) const;
 
-  /// Checks if a request is used by a wait multiple times in sequence without
-  /// intermediate nonblocking call or if the request used by the wait
-  /// function was not used at all before. The check contains a guard,
-  /// in order to only inspect wait functions.
+  /// Checks if the request used by the wait function was not used at all
+  /// before. The check contains a guard, in order to only inspect wait
+  /// functions.
   ///
   /// \param PreCallEvent MPI call to verify
   void checkUnmatchedWaits(const clang::ento::CallEvent &PreCallEvent,