llvm-project/clang/test
Jordan Rose 28c68a2d07 [analyzer] Don't invalidate globals when there's no call involved.
This fixes some mistaken condition logic in RegionStore that caused
global variables to be invalidated when /any/ region was invalidated,
rather than only as part of opaque function calls. This was only
being used by CStringChecker, and so users will now see that strcpy()
and friends do not invalidate global variables.

Also, add a test case we don't handle properly: explicitly-assigned
global variables aren't being invalidated by opaque calls. This is
being tracked by <rdar://problem/13464044>.

llvm-svn: 177572
2013-03-20 20:36:01 +00:00
..
ARCMT [arcmt] Make sure the function has an associated parameter for the argument 2013-02-14 17:29:16 +00:00
ASTMerge Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then 2012-12-20 02:22:15 +00:00
Analysis [analyzer] Don't invalidate globals when there's no call involved. 2013-03-20 20:36:01 +00:00
CXX Don't look outside the innermost enclosing namespace when 2013-03-20 01:53:00 +00:00
CodeCompletion PR14381: Never skip constexpr function bodies when code-completing. We may need 2012-11-19 21:13:18 +00:00
CodeGen The flag "-coverage-function-names-in-data" is actually backwards -- we do 2013-03-20 02:14:38 +00:00
CodeGenCUDA CUDA: give static storage class to __shared__ and __constant__ 2012-08-28 20:37:50 +00:00
CodeGenCXX refactoring file/directory for namespace debug info 2013-03-20 19:38:29 +00:00
CodeGenObjC Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
CodeGenObjCXX Sema: Preserve attributes on parameters in instantiated function templates. 2013-03-08 22:25:36 +00:00
CodeGenOpenCL Fix indirect byval passing of records in address spaced memory. Allocate memory on stack, and memcpy the actual value before the call. 2013-03-10 12:59:00 +00:00
Coverage Objective-C: When using super.prop, property should be 2013-03-11 22:26:33 +00:00
Driver Fix redundant comparison in gcc::Common::ConstructJob. 2013-03-20 07:34:27 +00:00
FixIt PR7256: Provide a fixit for incorrect destructor declarations 2013-03-20 17:42:13 +00:00
Frontend [frontend] Initialize the diagnostic client before loading an ast file. 2013-03-18 22:55:24 +00:00
Headers libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against 2013-02-21 02:17:58 +00:00
Index [libclang] Modify clang_getCursorType to be able to handle a function template decl. 2013-03-18 23:54:50 +00:00
Lexer Add -Wc99-compat warning for C11 unicode string and character literals. 2013-03-11 18:01:42 +00:00
Misc Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. 2013-03-18 22:52:47 +00:00
Modules <rdar://problem/10796651> Introduce configuration macros into module maps. 2013-03-20 00:22:05 +00:00
OpenMP Add initial rough support for synthesizing linker options when passed 2013-01-17 13:19:29 +00:00
PCH [PCH] Fix assertion hit related to enum decls inside templated funtions. 2013-03-18 22:23:49 +00:00
Parser Do the error recovery for @end only. 2013-03-20 18:45:49 +00:00
Preprocessor PR15539: Record "evaluating if/elif condition" flag in the right place 2013-03-18 23:22:28 +00:00
Rewriter Objective-C modern translator. Don't put line info 2013-03-18 19:41:18 +00:00
Sema documentation comment parsing. Added couple of 2013-03-18 23:45:52 +00:00
SemaCUDA
SemaCXX Diagnose uses of 'alignof' on functions in -pedantic mode. 2013-03-18 23:37:25 +00:00
SemaObjC Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaObjCXX Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaOpenCL Add support for the 'endian' attribute for OpenCL. 2013-03-14 09:54:43 +00:00
SemaTemplate Flag that friend function definitions are "late parsed" so that 2013-03-14 05:13:41 +00:00
TableGen Revert "tg-fixits.td: fixup for Linux" 2013-01-11 02:37:47 +00:00
Tooling ClangTool output cleanup 2013-03-15 20:14:01 +00:00
Unit Fixup for r176934. More careful setup of path to llvm-symbolizer 2013-03-15 07:29:58 +00:00
CMakeLists.txt Add llvm-symbolizer as test dependency. 2013-03-13 09:36:02 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Fixup for r176934. More careful setup of path to llvm-symbolizer 2013-03-15 07:29:58 +00:00
lit.site.cfg.in
make_test_dirs.pl