llvm-project/clang/test
Dmitri Gribenko ad80af8f19 -Wempty-body: fix false negative triggered by macros
When if statement condition ended in a macro:

    if (ptr == NULL);

the check used to consider the definition location of NULL, instead of the
current line.

Patch by Manasij Mukherjee.

llvm-svn: 232295
2015-03-15 01:08:23 +00:00
..
ARCMT Revert r231008 (and dependent r231019). 2015-03-03 10:02:53 +00:00
ASTMerge
Analysis Enable security checks for arc4random() on CloudABI as well. 2015-03-11 08:48:55 +00:00
CXX Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeCompletion
CodeGen Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
CodeGenCUDA Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
CodeGenCXX CodeGen: Correctly initialize bitfields with non-constant initializers 2015-03-14 22:24:38 +00:00
CodeGenObjC Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
CodeGenObjCXX Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
CodeGenOpenCL Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Driver Implement bad cast checks using control flow integrity information. 2015-03-14 02:42:25 +00:00
FixIt Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
Format
Frontend Fix typo in my last commit. 2015-03-03 00:12:08 +00:00
Headers Add builtins for the 64-bit vector integer arithmetic instructions added in POWER8. 2015-03-11 15:57:19 +00:00
Index [libclang] Fix crash when code-completing inside constructor initializer for a builtin type. 2015-03-13 07:39:30 +00:00
Integration
Layout PR6037 2015-01-19 01:44:02 +00:00
Lexer Add -fuse-line-directive flag to control usage of #line with -E 2015-02-26 00:17:25 +00:00
Misc Fix test case. 2015-03-02 21:47:47 +00:00
Modules [modules] Teach the AST reader to handle the case of importing a module 2015-03-14 04:47:43 +00:00
OpenMP Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
PCH Try to unbreak the Windows buildbots. 2015-03-03 23:36:57 +00:00
Parser Reverted OpenCL2.0 atomic type commits r231932, r231935 2015-03-11 17:26:37 +00:00
Preprocessor [PowerPC] ABI support for the QPX vector instruction set 2015-03-11 19:14:15 +00:00
Profile Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Rewriter Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
Sema Use Sema's PrintingPolicy when diagnosing DeclSpecs. 2015-03-12 14:28:38 +00:00
SemaCUDA CUDA: Add option to allow host device functions to call host functions 2015-02-24 21:45:33 +00:00
SemaCXX -Wempty-body: fix false negative triggered by macros 2015-03-15 01:08:23 +00:00
SemaObjC revert r231700 (designated initializer patch) which broke 2015-03-11 16:59:48 +00:00
SemaObjCXX Recognize objc_bridge(id) on bridged casts to CF types. 2015-03-10 18:41:23 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit
VFS DebugInfo: Move new hierarchy into place (clang) 2015-03-03 17:25:55 +00:00
.clang-format
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
lit.site.cfg.in Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
make_test_dirs.pl