Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Tim Northover ef7c6e7703 Add caveat to __builtin_readcyclecounter documentation.
The ARM cycle-counter can be restricted by the operating system; it's
worth warning potential users of this issue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182604 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-23 19:14:12 +00:00
Richard Smith f45c2992a3 C++1y: provide full 'auto' return type deduction for lambda expressions. This
completes the implementation of N3638.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181669 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-12 03:09:35 +00:00
Richard Smith 7f0ffb3a9f C++1y: Update __cplusplus to temporary value 201305L to allow detection of provisional C++1y support.
Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from
the C++ features study group), and update documentation to match.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181342 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-07 19:32:56 +00:00
Richard Smith e6e68b5377 C++11 support is now feature-complete.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179861 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-19 17:00:31 +00:00
Kostya Serebryany 85aee96c62 Unify clang/llvm attributes for asan/tsan/msan (Clang part)
These are two related changes (one in llvm, one in clang).
LLVM: 
- rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode)
- rename thread_safety => sanitize_thread
- rename no_uninitialized_checks -> sanitize_memory

CLANG: 
- add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis))
- add __attribute__((no_sanitize_thread))
- add __attribute__((no_sanitize_memory))

for S in address thread memory
If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not
set llvm attribute sanitize_S


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176076 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-26 06:58:27 +00:00
Peter Collingbourne 7728cddd78 Revert r175912, "Add support for coldcc to clang" at John's request.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175936 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-23 00:06:18 +00:00
Peter Collingbourne 4c67aa9640 Add support for coldcc to clang
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175912 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-22 19:24:35 +00:00
Richard Smith 3a09444deb Actually fix rendering of the example code block!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175113 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-14 00:23:04 +00:00
Richard Smith 7cdc31147b Some grammar fixes to 'Format String Checking', and reorder the text slightly to try to make the final code block actually get rendered.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175112 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-14 00:22:00 +00:00
Richard Smith 6f488191a3 Document Clang's support for [[gnu::...]] attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175110 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-14 00:13:34 +00:00
Dmitri Gribenko 21937c6f1f Documentation: formatting
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172729 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-17 17:04:54 +00:00
Aaron Ballman f5a45ea642 Adding verbiage to the Language Extensions document about __has_include and __has_include_next only being allowed within preprocessor directives.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172643 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-16 19:51:19 +00:00
Dmitri Gribenko 44a1efe44e Documentation: fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172588 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-16 01:17:05 +00:00
Douglas Gregor 52fb37a52c Document the redeclaration and overriding restrictions on the
availability attribute.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172587 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-16 01:12:31 +00:00
Dmitri Gribenko b4b970f765 Document behavior of -Wformat-nonliteral, it is different from GCC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172362 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-13 16:37:18 +00:00
Michael Gottesman 377b8c66b4 Updated documentation to reflect new multiprecision builtin functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172345 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-13 04:35:31 +00:00
Michael Gottesman a65e076e2e Converted Block-ABI-Apple.txt => Block-ABI-Apple.rst.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171799 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-07 22:24:45 +00:00
Sean Silva 55d3f944be docs: Curb excessive table-of-contents depth.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171410 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-02 21:09:58 +00:00
Sean Silva a0c392d0ad docs: Reorganize landing page.
Language extensions are highly relevant to using clang as a compiler, so
move LanguageExtensions up into `Using Clang as a Compiler` on the
landing page.

The other documents from the now-gone `Language Extensions and Specs`
section on the landing page nicely fit hierarchically under
LanguageExtensions.rst, so put them under LanguageExtensions.rst's
toctree instead of on the landing page.

Impetus from Jordan Rose.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171409 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-02 21:03:11 +00:00
Sean Silva 159cc9e6f6 docs: Fix up HTML links to proper reST links.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171382 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-02 13:07:47 +00:00
Dmitri Gribenko 7b00b84752 Documentation: use monospaced font in BlockLanguageSpec, and fix a link to this
document


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170762 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-20 20:51:59 +00:00
Michael Gottesman 76f98b646e Updated link in LanguageExtensions.rst to point to BlockLanguageSpec.rst instead of BlockLanguageSpec.txt.
Thanks to Jean-Daniel Dupas for comments!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170644 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-20 03:23:52 +00:00
Dmitri Gribenko 1228d66b5e Documentation: LanguageExtensions.rst: convert link to :doc: style and fix up
heading underline.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170272 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-15 14:25:25 +00:00
Jordan Rose 3115f5b67e Docs: redirect "static analysis extensions" section to the analyzer site.
The notes on the objc_method_family and ns_returns_retained-type attributes
have been moved to the Objective-C section, since both are used by ARC.
The notes on analyzer_noreturn are now only on the analyzer site.

The inadequacy of these docs was noticed months ago by Jonathan Sauer;
I'm only just now getting around to cleaning them up.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170261 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-15 00:37:01 +00:00
Sean Silva 3872b46ba9 docs: Convert some docs to reST.
Converts:
    LanguageExtensions
    LibASTMatchers
    LibTooling
    PCHInternals
    ThreadSanitizer
    Tooling

Patch by Mykhailo Pustovit!
(with minor edits by Dmitri Gribenko and Sean Silva)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170048 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-12 23:44:55 +00:00