llvm-project/clang/test
Hal Finkel f041733585 Add an __assume side-effects warning
In MS-compatibility mode, we support the __assume builtin. The __assume builtin
does not evaluate its arguments, and we should issue a warning if __assume is
provided with an argument with side effects (because these effects will be
discarded).

This is similar in spirit to the warnings issued by other compilers (Intel
Diagnostic 2261, MS Compiler Warning C4557).

llvm-svn: 213266
2014-07-17 14:25:55 +00:00
..
ARCMT [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
ASTMerge Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +00:00
Analysis Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
CXX Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
CodeCompletion When completing Objective-C instance method invocations, perform a contextual conversion to an Objective-C pointer type of the target expression if needed. This fixes code completion of method invocations where the target is a smart pointer that has an explicit conversion operator to an Objective-C type. 2014-02-28 19:07:22 +00:00
CodeGen ARM: Add ACLE memory barrier intrinsic mapping 2014-07-17 12:45:17 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX DebugInfo: Forward HandleTagDeclRequiredDefinition through MultiplexConsumer to fix debug info emission in the presence of plugins. 2014-07-16 23:52:46 +00:00
CodeGenObjC Objective-C. Introducing __attribute__((objc_runtime_name("runtimename")) 2014-07-16 16:16:04 +00:00
CodeGenObjCXX Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
CodeGenOpenCL Add codegen for more R600 builtins 2014-07-15 17:23:46 +00:00
Coverage Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Driver [mips] Pass the ABI to the integrated assembler and add tests the existing arguments. 2014-07-17 09:46:40 +00:00
FixIt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Headers Driver: bifurcate extended and basic MSC versioning 2014-07-16 03:13:50 +00:00
Index [test] Add '-target' option to fix bot failure. 2014-06-21 18:28:44 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout MS ABI: Padding injected between empty vbases doesn't up required align 2014-07-17 00:55:19 +00:00
Lexer Make MS i128 suffix test from r211446 more robust 2014-06-21 23:32:05 +00:00
Misc Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Modules Try harder to supress the test from r212975 on Windows 2014-07-14 21:14:28 +00:00
OpenMP [OPENMP] Initial parsing and sema analysis of 'mergeable' clause. 2014-07-17 12:47:03 +00:00
PCH Fix an iterator invalidation issue: deserializing a key function can write to 2014-07-07 06:38:20 +00:00
Parser Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Preprocessor Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Profile CodeGen: Improve warnings about uninstrumented files when profiling 2014-06-26 01:45:07 +00:00
Rewriter Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Add an __assume side-effects warning 2014-07-17 14:25:55 +00:00
SemaCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
SemaCXX Track the difference between 2014-07-17 05:12:35 +00:00
SemaObjC Objective-C. Changes per A. Ballman's comment 2014-07-16 19:44:34 +00:00
SemaObjCXX Fix assertion hit or bogus compiler error in cases when instantiating ObjC property accesses used with overloaded binary operators. 2014-06-19 14:45:16 +00:00
SemaOpenCL [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0. 2014-05-19 14:41:38 +00:00
SemaTemplate Avoid referencing the vtable when calling the ctor without emitting it 2014-07-16 00:30:59 +00:00
TableGen
Tooling clang/test: Introduce the feature "staticanalyzer" for --enable-clang-static-analyzer. 2014-07-16 12:05:45 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS Make -Wincomplete-umbrella go through the VFS 2014-06-25 23:53:43 +00:00
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-08 06:45:35 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl