Added "Dead Stores", a flow-sensitive checker that checks for stores
to variables that are no longer live. This analysis is built on top of CFGs and the LiveVariables analysis. changes to driver: added driver option "-check-dead-stores" to run the analysis llvm-svn: 41754
Showing
- clang/Analysis/LiveVariables.cpp 16 additions, 1 deletionclang/Analysis/LiveVariables.cpp
- clang/Driver/ASTStreamers.cpp 27 additions, 0 deletionsclang/Driver/ASTStreamers.cpp
- clang/Driver/ASTStreamers.h 2 additions, 0 deletionsclang/Driver/ASTStreamers.h
- clang/Driver/Makefile 1 addition, 1 deletionclang/Driver/Makefile
- clang/Driver/clang.cpp 8 additions, 2 deletionsclang/Driver/clang.cpp
- clang/clang.xcodeproj/project.pbxproj 14 additions, 0 deletionsclang/clang.xcodeproj/project.pbxproj
- clang/include/clang/Analysis/LiveVariables.h 9 additions, 4 deletionsclang/include/clang/Analysis/LiveVariables.h
- clang/include/clang/Basic/DiagnosticKinds.def 3 additions, 0 deletionsclang/include/clang/Basic/DiagnosticKinds.def
Loading
Please register or sign in to comment