[PATCH] D12761: MPI-Checker patch for Clang Static Analyzer

Alexander Droste via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 24 01:58:05 PDT 2015


Alexander_Droste updated this revision to Diff 38299.
Alexander_Droste added a comment.

- reduced the Request class members to single 1 byte sized enum
- implemented VisitNode for RequestNodeVisitor to find previous call event using the request
- tolerate null pointer constants in type checking (any MPI type is accepted as a combination)
- removed double wait check as it turned out that calling a wait on a request that was previously used by a wait is technically valid
- minor improvement for variableName function


http://reviews.llvm.org/D12761

Files:
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.td
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Container.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPICheckerAST.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPICheckerAST.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPICheckerPathSensitive.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPICheckerPathSensitive.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPITypes.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/TranslationUnitVisitor.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/TranslationUnitVisitor.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/TypeVisitor.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Utility.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Utility.h
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/test/Analysis/MPIChecker.cpp
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/unittests/StaticAnalyzer/CMakeLists.txt
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/unittests/StaticAnalyzer/MPI-Checker/CMakeLists.txt
  /Users/lx/Documents/Text/Code/Open_Source/llvm_trunk/repo/tools/clang/unittests/StaticAnalyzer/MPI-Checker/ContainerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12761.38299.patch
Type: text/x-patch
Size: 112209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151024/d5f348aa/attachment-0001.bin>


More information about the cfe-commits mailing list