llvm-project/clang/test
Ted Kremenek 5f256da834 Rename GRState::getSVal() -> getRawSVal() and getSimplifiedSVal() -> getSVal().
The end result is now we eagarly constant-fold symbols in the analyzer that are perfectly constrained
to be a constant value.  This allows us to recover some path-sensitivity in some cases by lowering
the required level of reasoning power needed to evaluate some expressions.

The net win from this change is that the false positive in PR 8015 is fixed, and we also
find more idempotent operations bugs.

We do, however, regress with the BugReporterVisitors, which need to be modified to understand
this constant folding (and look past it).  This causes some diagnostic regressions in plist-output.m
which will get addressed in a future patch.  plist-output.m is now marked XFAIL, while
plist-output-alternate.m now tests that the plist output is working, but with the suboptimal
diagnostics.  This second test file will eventually be removed.

llvm-svn: 113477
2010-09-09 07:13:00 +00:00
..
ASTMerge Hack in some really terrible C++ record PCH support that I need right now. 2010-06-03 19:28:45 +00:00
Analysis Rename GRState::getSVal() -> getRawSVal() and getSimplifiedSVal() -> getSVal(). 2010-09-09 07:13:00 +00:00
CXX remove curly quotes, patch by Dimitry Andric! 2010-09-06 17:52:29 +00:00
CodeCompletion When provide code completions for a variadic Objective-C method 2010-08-31 05:13:43 +00:00
CodeGen Have Sema check for validity of CGString literal 2010-09-07 19:38:13 +00:00
CodeGenCXX Implement ARM static local initialization guards, which are more compact than 2010-09-08 01:44:27 +00:00
CodeGenObjC Block ivar layout must assume that the 'isa' 2010-09-09 00:21:45 +00:00
CodeGenObjCXX Fix IRGen when property-dot syntax used to access 2010-09-01 19:36:41 +00:00
Coverage Eliminate the "minimal" and printing parser actions, which only ever 2010-07-26 04:08:02 +00:00
Driver Driver/Darwin: Switch to using simplified tool chain by default -- what better 2010-08-23 20:58:55 +00:00
FixIt add a fixit when 'main' does ot return 'int'; review welcome 2010-09-08 00:31:13 +00:00
Frontend Frontend: Add basic -H support. 2010-08-24 22:44:13 +00:00
Headers Disallow direct inclusion of avxintrin.h. Users should include immintrin.h instead. This matches GCC's behavior. 2010-08-20 23:00:03 +00:00
Index When providing a completion for a function/method parameter of block 2010-09-08 22:47:51 +00:00
Lexer tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +00:00
Misc tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +00:00
PCH Fix a C++ PCH problem which was exposed by r113019. CXXBaseOrMemberInitializer's IsWritten and source order is not set. 2010-09-06 19:04:27 +00:00
Parser Microsoft's __uuidof operator implementation part 1. 2010-09-08 12:20:18 +00:00
Preprocessor tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +00:00
Rewriter make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
Sema Check format strings when a called function has more than one FormatAttr (one for 'scanf' and one for 'printf'). Fixes <rdar://problem/8409437>. 2010-09-09 04:33:05 +00:00
SemaCXX Add support for a few MS extensions supported by the Borland compiler 2010-09-08 22:56:24 +00:00
SemaObjC Relax __attribute_((nonnull)) checking to allow the attribute on functions with no pointer arguments. GCC doesn't warn 2010-09-09 01:17:32 +00:00
SemaObjCXX Removed test case. 2010-09-08 21:55:57 +00:00
SemaTemplate "const std::vector<int>*" not "std::vector<int> const*" 2010-09-05 00:27:00 +00:00
CMakeLists.txt CMake: Clang test targets depend on the {FileCheck,not,count} tools. 2010-07-29 22:57:17 +00:00
Makefile daniel doesn't hate me, he hates macpython 2.5, which 2010-07-18 18:42:35 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them on 2010-08-24 21:39:55 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00