llvm-project/clang/test
Davide Italiano bf0f7757e2 [Sema] Warn when shifting a negative value.
Example:
 % ./clang -Wshift-negative-value emit.c
emit.c:3:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  int a = -1 << 3;
          ~~ ^
1 warning generated.

PR:		24026
Differential Revision:	 http://reviews.llvm.org/D10938
Reviewed by:	rsmith

llvm-svn: 241478
2015-07-06 18:02:09 +00:00
..
ARCMT Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
ASTMerge [Hexagon] Reapply 238773 after fix to LLVM. 2015-06-03 17:34:22 +00:00
Analysis [static analyzer] Analyzer is skipping forward declared C/C++ functions 2015-06-26 17:42:58 +00:00
CXX [Sema] Warn when shifting a negative value. 2015-07-06 18:02:09 +00:00
CodeCompletion [Preprocessor] Iterating over all macros should include those from modules. 2015-06-24 19:27:02 +00:00
CodeGen Resubmit "Pass down the -flto option to the -cc1 job" (r239481) 2015-07-06 16:23:00 +00:00
CodeGenCUDA [cuda] Fixed test case failure on s390x 2015-05-11 18:35:58 +00:00
CodeGenCXX Update testcase to reflect new behavior in DIBuilder. 2015-07-06 16:36:04 +00:00
CodeGenObjC Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
CodeGenObjCXX Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
CodeGenOpenCL Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
Coverage
CoverageMapping InstrProf: Pack the coverage mapping structs that we write out 2015-07-02 00:42:32 +00:00
Driver Specify --target, hopefully fixing non-x86 bots. 2015-07-02 09:10:31 +00:00
FixIt Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
Format Disable style-on-command-line test on Windows 2015-06-09 17:47:59 +00:00
Frontend Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
Headers Move xtest to its own file to match the gcc header organization. 2015-06-17 18:42:07 +00:00
Index [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
Integration
Layout __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Lexer [ASan] Initial support for Kernel AddressSanitizer 2015-06-19 12:19:07 +00:00
Misc Reenable Misc/interpreter.c as r239388 correctly handles such targets 2015-06-09 06:33:13 +00:00
Modules Mark clang/test/Modules/signal.m as REQUIRES:crash-recovery. 2015-07-05 23:00:44 +00:00
OpenMP [OPENMP 4.0] Codegen for 'omp cancel' directive. 2015-07-06 05:50:32 +00:00
PCH Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
Parser When we see something that looks like a constructor with a return type, only issue one error, not two. 2015-07-06 01:04:39 +00:00
Preprocessor Avoid false positive/negative test results from line directive interference.NFC. 2015-06-26 17:49:10 +00:00
Profile Fix a couple of tests in clang/test to match "x86_thiscallcc" introduced in r240971. 2015-06-30 08:02:26 +00:00
Rewriter __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Sema [Sema] Warn when shifting a negative value. 2015-07-06 18:02:09 +00:00
SemaCUDA [cuda] Preserve TLS storage class of host variable even if it's a 2015-04-28 20:31:49 +00:00
SemaCXX PR24030, PR24033: Consistently check whether a new declaration conflicts with 2015-07-06 04:43:58 +00:00
SemaObjC Parse 'technical term' format specifier. 2015-07-02 05:39:16 +00:00
SemaObjCXX Make __has_extension(assume_nonnull) always true. 2015-06-29 17:25:49 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
TableGen
Tooling
Unit
VFS Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +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
TestRunner.sh
cxx-sections.data
lit.cfg test: Set lit features appropriately when using asan and ubsan together 2015-06-22 18:47:10 +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