clang-1/lib
Tom Care db2fa8a7eb Added a path-sensitive idempotent operation checker (-analyzer-idempotent-operation). Finds idempotent and/or tautological operations in a path sensitive context, flagging operations that have no effect or a predictable effect.
Example:
{
int a = 1;
int b = 5;
int c = b / a; // a is 1 on all paths
}

- New IdempotentOperationChecker class
- Moved recursive Stmt functions in r107675 to IdempotentOperationChecker
- Minor refactoring of SVal to allow checking for any integer
- Added command line option for check
- Added basic test cases

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107706 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-06 21:43:29 +00:00
..
AST Added a path-sensitive idempotent operation checker (-analyzer-idempotent-operation). Finds idempotent and/or tautological operations in a path sensitive context, flagging operations that have no effect or a predictable effect. 2010-07-06 21:43:29 +00:00
Analysis Type Type::isRealFloatingType() that vectors are not floating-point 2010-06-22 23:07:26 +00:00
Basic Translate numbers properly. 2010-06-25 19:04:52 +00:00
Checker Added a path-sensitive idempotent operation checker (-analyzer-idempotent-operation). Finds idempotent and/or tautological operations in a path sensitive context, flagging operations that have no effect or a predictable effect. 2010-07-06 21:43:29 +00:00
CodeGen Make CGBuilderTy a typedef again; its functionality has been rolled back 2010-07-06 18:43:48 +00:00
Driver Driver/IRgen: Add support for -momit-leaf-frame-pointer. 2010-07-01 01:31:45 +00:00
Frontend Added a path-sensitive idempotent operation checker (-analyzer-idempotent-operation). Finds idempotent and/or tautological operations in a path sensitive context, flagging operations that have no effect or a predictable effect. 2010-07-06 21:43:29 +00:00
Headers Headers: Change [u]intmax_t to be defined in terms of __[U]INTMAX_TYPE__, instead of intN_t. 2010-06-30 06:30:50 +00:00
Index Collect function definitions in the Indexer when indexing through the ASTs. 2010-07-06 05:55:13 +00:00
Lex Implement support for #pragma message, patch by Michael Spencer! 2010-06-26 17:11:39 +00:00
Parse Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
Rewrite Rewriter: Use the appropriate printing context instead of the default 2010-06-30 19:16:53 +00:00
Sema Fix multiple emission of the this-> fixit for each instantiation by fixing the 2010-07-06 19:51:49 +00:00
CMakeLists.txt Split libAnalysis into two libraries: libAnalysis and libChecker. 2010-01-25 04:41:41 +00:00
Makefile Move lib/Runtime to runtime/, and build after everything else. 2010-06-30 22:10:38 +00:00