llvm-project/clang
Mehdi Amini 29034362ae Add support for __builtin_os_log_format[_buffer_size]
These new builtins support a mechanism for logging OS events, using a
printf-like format string to specify the layout of data in a buffer.
The _buffer_size version of the builtin can be used to determine the size
of the buffer to allocate to hold the data, and then __builtin_os_log_format
can write data into that buffer. This implements format checking to report
mismatches between the format string and the data arguments. Most of this
code was written by Chris Willmore.

Differential Revision: https://reviews.llvm.org/D25888

llvm-svn: 284990
2016-10-24 16:56:23 +00:00
..
INPUTS
bindings [libclang] Add missing cursor kinds to python bindings. 2016-10-18 09:42:03 +00:00
cmake [cmake] Follow LLVM's lead in creating exported tool targets for clang tools. 2016-10-19 22:46:06 +00:00
docs [Modules] Add 'no_undeclared_includes' module map attribute 2016-10-21 01:41:56 +00:00
examples [Examples] Fix use of sema.LateParsedTemplateMap in clang/examples. 2016-10-10 16:41:00 +00:00
include Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 16:56:23 +00:00
lib Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 16:56:23 +00:00
runtime [CMake] Properly connecting Compiler-RT check and test-depends 2016-09-01 18:28:49 +00:00
test Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 16:56:23 +00:00
tools Fix clang-format vim integration issue with non-ascii characters 2016-10-24 16:31:26 +00:00
unittests [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
utils Use noexcept instead of LLVM_NOEXCEPT now that all compilers support it 2016-10-19 23:39:55 +00:00
www Mark P0012R1 as "Partial" since it's now substantially complete. 2016-10-22 01:35:34 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Add clang-bootstrap-deps target 2016-10-19 21:18:48 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/