History log of /external/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed1384c6f884541eafc852f97deac5e81412b7e1 26-Aug-2010 Tom Care <tcare@apple.com> Improved the handling of blocks and block variables in PseudoConstantAnalysis
- Removed the assumption that __block vars are all non-constant
- Simplified some repetitive code in RunAnalysis
- Added block walking support
- Code/comments cleanup
- Separated out test for block pseudoconstants

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
42428f550b3d34c61a9549593eaaa063083ee4fd 24-Aug-2010 Tom Care <tcare@apple.com> Improvements to IdempotentOperationChecker and its use of PseudoConstantAnalysis
- Added wasReferenced function to PseudoConstantAnalysis to determine if a variable was ever referenced in a function (outside of a self-assignment)
- BlockDeclRefExpr referenced variables are now explicitly added to the non-constant list
- Remove unnecessary ignore of implicit casts
- Generalized parameter self-assign detection to detect deliberate self-assigns of variables to avoid unused variable warnings
- Updated test cases with deliberate self-assignments
- Fixed bug with C++ references and pseudoconstants
- Added test case for C++ references and pseudoconstants

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
2c497ccd842431b6d143be0fefb45821ad1940a7 23-Aug-2010 Tom Care <tcare@apple.com> Several small changes to PseudoConstantAnalysis and the way IdempotentOperationChecker uses it.
- Psuedo -> Pseudo (doh...)
- C++ reference support
- Added pseudoconstant test case for __block vars
- Separated out static local checking from pseudoconstant analysis and generalized to non-local checking
- Added missing test cases for storage false positives

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h