llvm-project/clang/lib/Analysis
Tom Care b9933f365e Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker.
- Renamed IdempotentOperationChecker::isConstant to isConstantOrPseudoConstant to better reflect the function
- Changed IdempotentOperationChecker::PreVisitBinaryOperator to only run 'CanVary' once on undefined assumptions
- Created new PsuedoConstantAnalysis class and added it to AnalysisContext
- Changed IdempotentOperationChecker to exploit the new analysis
- Updated tests with psuedo-constants
- Added check to IdempotentOperationChecker to see if a Decl is const qualified

llvm-svn: 111426
2010-08-18 21:17:24 +00:00
..
AnalysisContext.cpp Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker. 2010-08-18 21:17:24 +00:00
CFG.cpp Fix horrible CFG bug caused by a series of NullStmts appearing at the beginning of a do...while loop. This would cause 2010-08-17 21:00:06 +00:00
CFGStmtMap.cpp Fix a bug where child statements could not be identified as being in a CFGBlock in CFGStmtMap::getBlock. 2010-08-11 23:36:58 +00:00
CMakeLists.txt Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker. 2010-08-18 21:17:24 +00:00
FormatString.cpp Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format" 2010-07-27 04:46:02 +00:00
FormatStringParsing.h Fix namespace polution. 2010-07-26 21:25:24 +00:00
LiveVariables.cpp Assignments to reference variables shouldn't kill the variable. 2010-06-04 01:14:56 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
PrintfFormatString.cpp Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier. 2010-07-20 20:04:42 +00:00
PsuedoConstantAnalysis.cpp Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker. 2010-08-18 21:17:24 +00:00
ReachableCode.cpp Move the rest of the unreachable code analysis from libSema 2010-02-23 05:59:20 +00:00
ScanfFormatString.cpp Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format" 2010-07-27 04:46:02 +00:00
UninitializedValues.cpp [CFG] 2010-03-02 21:43:54 +00:00