llvm-project/clang/test
Jordan Rose 44e066c72a [analyzer] Add missing return after function pointer null check.
Also add some tests that there is actually a message and that the bug is
actually a hard error. This actually behaved correctly before, because:

- addTransition() doesn't actually add a transition if the new state is null;
  it assumes you want to propagate the predecessor forward and does nothing.
- generateSink() is called in order to emit a bug report.
- If at least one new node has been generated, the predecessor node is /not/
  propagated forward.

But now it's spelled out explicitly.

Found by Richard Mazorodze, who's working on a patch that may require this.

llvm-svn: 191805
2013-10-02 01:20:28 +00:00
..
ARCMT ObjectiveC migrator. Infer property from getters only 2013-09-27 22:55:54 +00:00
ASTMerge Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
Analysis [analyzer] Add missing return after function pointer null check. 2013-10-02 01:20:28 +00:00
CXX Implement conversion to function pointer for generic lambdas without captures. 2013-09-29 08:45:24 +00:00
CodeCompletion Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
CodeGen Implement ARM GNU-style interrupt attribute 2013-10-01 14:34:25 +00:00
CodeGenCUDA CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
CodeGenCXX Debug Info: update testing cases when the derived-from field of a 2013-10-01 23:46:19 +00:00
CodeGenObjC Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
CodeGenObjCXX Fix ObjC @encode for C++ classes w/virtual bases. 2013-09-18 01:59:16 +00:00
CodeGenOpenCL Certain multi-platform languages, such as OpenCL, have the concept of 2013-09-13 12:04:22 +00:00
Coverage Objective-C: When using super.prop, property should be 2013-03-11 22:26:33 +00:00
Driver [ARM] Add -mfpu=none option to the driver. 2013-10-01 10:20:54 +00:00
FixIt Fix a bug in the typo correction replacement location. 2013-09-26 19:10:34 +00:00
Format Allow _clang-format as alternative to .clang-format config filename 2013-09-10 15:41:12 +00:00
Frontend clang/test/Frontend/rewrite-includes.c: Tweak expressions for r'\\', not r'\', on win32. 2013-08-29 16:11:17 +00:00
Headers Switch tests in test/Headers to use %clang_cc1 rather than %clang. There 2013-09-20 21:12:25 +00:00
Index Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
Lexer Mark lambda init-captures as complete. 2013-09-28 04:37:56 +00:00
Misc clang-cl: print diagnostics as "error(clang): foo" in /fallback mode 2013-09-24 00:08:55 +00:00
Modules Add -fmodule-map-file option. 2013-09-24 09:27:13 +00:00
OpenMP [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +00:00
PCH Add compat/extension warnings for init captures. 2013-09-28 05:38:27 +00:00
Parser Add compat/extension warnings for init captures. 2013-09-28 05:38:27 +00:00
Preprocessor Fix PR 12730: Add _GCC_HAVE_SYNC_COMPARE_AND_SWAP macros for ARM 2013-09-30 22:51:32 +00:00
Rewriter Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
Sema Implement ARM GNU-style interrupt attribute 2013-10-01 14:34:25 +00:00
SemaCUDA
SemaCXX Fix a typo suggestion regression introduced by r191544. 2013-10-01 22:00:28 +00:00
SemaObjC Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
SemaObjCXX Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
SemaOpenCL Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. 2013-09-09 12:57:20 +00:00
SemaTemplate Variable templates: handle instantiation of static data member templates 2013-09-27 20:14:12 +00:00
TableGen
Tooling Fixed replacements for files with relative paths are not applied. 2013-10-01 14:59:00 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 14:43:04 +00:00
CMakeLists.txt Re-add clang-format tests to clang/test. 2013-03-25 09:14:25 +00:00
Makefile Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests 2013-09-13 11:02:31 +00:00
lit.site.cfg.in Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests 2013-09-13 11:02:31 +00:00
make_test_dirs.pl