llvm-project/clang/test
Aaron Ballman a383c94ccd Disallow pointers to const in __sync_fetch_and_xxx.
Diagnoses code like:

void f(const int *ptr) {
  __sync_fetch_and_add(ptr, 1);
}

which matches the behavior of GCC and ICC.

llvm-svn: 331598
2018-05-05 17:38:42 +00:00
..
ARCMT [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
ASTMerge [ASTImporter] FriendDecl importing improvements 2018-04-25 17:28:03 +00:00
Analysis [analyzer] Invalidate union regions properly. Don't hesitate to load later. 2018-05-04 22:19:32 +00:00
CXX [Sema] Do not match function type with const T in template argument deduction 2018-05-03 01:43:23 +00:00
CodeCompletion [CodeComplete] Fix completion in the middle of ident in ctor lists. 2018-04-25 15:13:34 +00:00
CodeGen Add -target to address errors in test from r331592 2018-05-05 16:37:31 +00:00
CodeGenCUDA Fix failure in lit test kernel-call.cu due to name mangling 2018-04-25 13:07:58 +00:00
CodeGenCXX Rename invariant.group.barrier to launder.invariant.group 2018-05-03 11:03:01 +00:00
CodeGenCoroutines [Coroutines] Catch exceptions in await_resume 2018-05-04 14:02:37 +00:00
CodeGenObjC [CodeGen] Fix a crash that occurs when a non-trivial C struct with a 2018-04-16 20:23:52 +00:00
CodeGenObjCXX [CodeGen] Avoid destructing a callee-destructued struct type in a 2018-04-27 06:57:00 +00:00
CodeGenOpenCL Add Microsoft Mangling for OpenCL Half Type 2018-05-01 14:16:15 +00:00
Coverage [analyzer] Fix filename in cross-file HTML report 2018-05-02 14:26:12 +00:00
CoverageMapping [Coverage] Handle break/continue outside of loop bodies 2018-02-16 07:59:43 +00:00
Driver [clang-cl] Print /showIncludes to stderr, if used in combination with /E, /EP or /P 2018-05-04 15:58:31 +00:00
FixIt [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
Format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
Frontend [clang-cl] Print /showIncludes to stderr, if used in combination with /E, /EP or /P 2018-05-04 15:58:31 +00:00
Headers Revert "Emit an error when mixing <stdatomic.h> and <atomic>" 2018-05-02 19:52:07 +00:00
Import [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Index [libclang] Fix the type of 'int (Foo);' 2018-05-01 20:45:25 +00:00
Integration
Layout DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
Lexer Implement P0482R2, support for char8_t type. 2018-05-01 05:02:45 +00:00
Misc Add warning flag -Wordered-compare-function-pointers. 2018-05-05 00:09:51 +00:00
Modules Track the result of evaluating a computed noexcept specification on the 2018-05-03 03:58:32 +00:00
OpenMP [OPENMP] Fix test typos: CHECK-DAG-N -> CHECK-N-DAG 2018-05-03 17:22:04 +00:00
PCH Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
Parser PR37189 Fix incorrect end source location and spelling for a split '>>' token. 2018-04-30 05:25:48 +00:00
Preprocessor [X86] directstore and movdir64b intrinsics 2018-05-01 10:05:42 +00:00
Profile
Refactor
Rewriter
Sema Disallow pointers to const in __sync_fetch_and_xxx. 2018-05-05 17:38:42 +00:00
SemaCUDA Fix typos in clang 2018-04-06 15:14:32 +00:00
SemaCXX Allow writing calling convention attributes on function types. 2018-05-03 15:33:50 +00:00
SemaObjC [ObjC] Supress the 'implementing unavailable method' warning when 2018-05-03 01:12:06 +00:00
SemaObjCXX [Sema][ObjC] Ensure that the return type of an ObjC method is a complete 2018-04-12 06:01:41 +00:00
SemaOpenCL [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
SemaTemplate [Sema] Do not match function type with const T in template argument deduction 2018-05-03 01:43:23 +00:00
TableGen TableGen: Give up on exact fixits for diagnostic groups 2018-03-06 17:55:00 +00:00
Templight [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Tooling Fix test clang-diff-json.cpp 2018-02-10 21:28:55 +00:00
Unit
VFS [vfs] Don't bail out after a missing -ivfsoverlay file 2018-03-23 17:37:27 +00:00
clang-rename
.clang-format
CMakeLists.txt [ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK 2018-02-14 22:41:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [debuginfo] Remove temporary FIXME. 2017-12-14 22:12:46 +00:00
lit.site.cfg.py.in
make_test_dirs.pl