summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/atomic_flag_test_and_set_explicit.c
Commit message (Collapse)AuthorAgeFilesLines
* [builtins] Use single line C++/C99 comment stylePetr Hosek2019-04-281-12/+11
| | | | | | | | | | | Use the uniform single line C++/99 style for code comments. This is part of the cleanup proposed in "[RFC] compiler-rt builtins cleanup and refactoring". Differential Revision: https://reviews.llvm.org/D60352 llvm-svn: 359411
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
* [builtins] One more stab at fixing the bots.Chris Bieneman2015-09-221-0/+4
| | | | llvm-svn: 248330
* [builtins] Fixing atomic builtins to be compiled out if stdatomic.h isn't ↵Chris Bieneman2015-09-221-0/+4
| | | | | | | | | | available. This should fix the bots broken by r248322. Reviewed by bogner over my shoulder. llvm-svn: 248328
* builtins: Implement the functions from stdatomic.hJustin Bogner2015-05-081-0/+20
Talking to John and Doug, we concluded that these functions from stdatomic really do belong here in compiler-rt rather than in libc, since the compiler owns stdatomic.h and these need to refer to clang-specific builtins. Nonetheless, I've only added these on darwin for now - other platforms should probably do the same unless their libc does implement these functions. llvm-svn: 236805
OpenPOWER on IntegriCloud