summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/SimpleConstraintManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> ↵Argyrios Kyrtzidis2010-12-221-299/+0
| | | | | | libclangGRCore llvm-svn: 122421
* [analyzer] Refactoring: include/clang/Checker -> include/clang/GRArgyrios Kyrtzidis2010-12-221-3/+3
| | | | llvm-svn: 122420
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-2/+2
| | | | | | | | zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121121
* Rename all 'AssumeXXX' methods in libCheckerTed Kremenek2010-12-011-24/+24
| | | | | | to 'assumeXXX'. llvm-svn: 120614
* Rename 'SValuator' to 'SValBuilder'. The new nameTed Kremenek2010-12-011-1/+1
| | | | | | reflects what the class actually does. llvm-svn: 120605
* GCC didn't care for my attempt at API compatibility, so brute-force everythingJohn McCall2010-08-251-23/+23
| | | | | | to the new constants. llvm-svn: 112047
* - Allow making ElementRegions with complex offsets (expressions or symbols) ↵Jordy Rose2010-08-161-24/+0
| | | | | | | | | | for the purpose of bounds-checking. - Rewrite GRState::AssumeInBound to actually do that checking, and to use the normal constraint path. - Remove ConstraintManager::AssumeInBound. - Teach RegionStore and FlatStore to ignore those regions for now. llvm-svn: 111116
* Implicitly compare symbolic expressions to zero when they're being used as ↵Jordy Rose2010-06-271-3/+7
| | | | | | constraints. Part of PR7491. llvm-svn: 106972
* When folding additive operations, convert the values to the same type. When ↵Jordy Rose2010-06-211-20/+31
| | | | | | assuming relationships, convert the integers to the same type as the symbol, at least for now. llvm-svn: 106458
* Fold additive constants, and support comparsions of the form $sym+const1 <> ↵Jordy Rose2010-06-181-49/+108
| | | | | | const2 llvm-svn: 106339
* Split libAnalysis into two libraries: libAnalysis and libChecker.Ted Kremenek2010-01-251-0/+249
(1) libAnalysis is a generic analysis library that can be used by Sema. It defines the CFG, basic dataflow analysis primitives, and inexpensive flow-sensitive analyses (e.g. LiveVariables). (2) libChecker contains the guts of the static analyzer, incuding the path-sensitive analysis engine and domain-specific checks. Now any clients that want to use the frontend to build their own tools don't need to link in the entire static analyzer. This change exposes various obvious cleanups that can be made to the layout of files and headers in libChecker. More changes pending. :) This change also exposed a layering violation between AnalysisContext and MemRegion. BlockInvocationContext shouldn't explicitly know about BlockDataRegions. For now I've removed the BlockDataRegion* from BlockInvocationContext (removing context-sensitivity; although this wasn't used yet). We need to have a better way to extend BlockInvocationContext (and any LocationContext) to add context-sensitivty. llvm-svn: 94406
OpenPOWER on IntegriCloud