Skip to content
  • Tom Care's avatar
    Added psuedo-constant analysis and integrated it into the false positive... · b9933f36
    Tom Care authored
    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
    b9933f36
Loading