Bill Wendling
61f44ccc50
Reset the release notes for the 3.4 release.
...
llvm-svn: 183211
2013-06-04 06:17:46 +00:00
Richard Smith
b7f7faafd4
Document -fno-sanitize-recover and -fsanitize-undefined-trap-on-error and attempt to explain the difference between them.
...
llvm-svn: 182890
2013-05-29 22:57:31 +00:00
Tim Northover
bfe2e5f778
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.
llvm-svn: 182604
2013-05-23 19:14:12 +00:00
Hans Wennborg
b3ad90d52d
ReleaseNotes.rst: typo
...
llvm-svn: 182294
2013-05-20 15:59:04 +00:00
Hans Wennborg
3cb56a4f34
ReleaseNotes: add note about ASTContext::WCharTy and WideCharTy
...
llvm-svn: 182280
2013-05-20 14:53:06 +00:00
Alexander Kornienko
006b5c89ce
Clang-format: allow -style="{yaml/json}" on command line
...
Summary: + improved handling of default style and predefined styles.
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D813
llvm-svn: 182205
2013-05-19 00:53:30 +00:00
Manuel Klimek
bf2d568900
Add embedded video for the AST tutorial.
...
As asked for by Sean, putting the video into the docs.
llvm-svn: 182081
2013-05-17 08:40:22 +00:00
Sergey Matveev
f4633ac740
Add LeakSanitizer.rst to docs.
...
llvm-svn: 181798
2013-05-14 15:48:54 +00:00
Richard Smith
9155be1e54
C++1y: provide full 'auto' return type deduction for lambda expressions. This
...
completes the implementation of N3638.
llvm-svn: 181669
2013-05-12 03:09:35 +00:00
Alexander Kornienko
88a0d939de
Reformat clang-format help strings, filter out irrelevant options.
...
Summary: +updated ClangFormat.rst
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D780
llvm-svn: 181617
2013-05-10 18:12:00 +00:00
Edwin Vane
fc4f7dc0a6
Adding isConst() ASTMatcher for CXXMethodDecl nodes
...
Updated reference and unit tests.
llvm-svn: 181522
2013-05-09 17:00:17 +00:00
Edwin Vane
c50e730d6e
Updating LibASTMatchersReference to include namespaceDecl()
...
The namespaceDecl() ASTMatcher was added in r179027.
llvm-svn: 181519
2013-05-09 16:42:37 +00:00
Reid Kleckner
78fb10f194
Document Clang's support for #pragma comment(lib/linker) with -fms-extensions
...
As suggested by Dmitri Gribenko.
llvm-svn: 181433
2013-05-08 14:40:51 +00:00
Bill Wendling
3067ec8777
We're in 3.4 land now.
...
llvm-svn: 181351
2013-05-07 20:31:37 +00:00
Richard Smith
0a715429b9
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.
llvm-svn: 181342
2013-05-07 19:32:56 +00:00
Daniel Jasper
5f99742632
Basic clang-format integration for BBEdit.
...
Thanks to Avi Drissman!
llvm-svn: 180933
2013-05-02 17:37:36 +00:00
Dmitri Gribenko
b8f9f3ef0b
Documentation: Change UTF-8 ellipsis character to ASCII ... sequence
...
Patch by Dimitry Andric
llvm-svn: 180674
2013-04-27 16:26:29 +00:00
Dmitri Gribenko
d3c5a51e9d
Documentation: add an idea for a cpp14-migrate transform for N3421
...
llvm-svn: 180672
2013-04-27 13:41:02 +00:00
Dmitri Gribenko
148fdf2ed1
Documentation: improve description of make_shared transformation, as suggested by David Blaikie
...
llvm-svn: 180627
2013-04-26 20:20:30 +00:00
Ted Kremenek
004e823539
Further wordsmith release notes for the static analyzer.
...
llvm-svn: 180585
2013-04-26 00:01:34 +00:00
Anna Zaks
b6219a9f0e
Add Static Analyzer section to the Release Notes for clang 3.3
...
llvm-svn: 180582
2013-04-25 23:14:38 +00:00
Dmitri Gribenko
046a8ece54
Add an idea for cpp11-migrate and cpp14-migrate
...
llvm-svn: 180266
2013-04-25 16:07:10 +00:00
Ted Kremenek
3a2291b837
Release note the change to clang_CXCursorSet_contains().
...
llvm-svn: 180178
2013-04-24 07:33:52 +00:00
Richard Smith
25b555a6bf
C++11 support is now feature-complete.
...
llvm-svn: 179861
2013-04-19 17:00:31 +00:00
Manuel Klimek
f5a0ae82e9
Multiple improvements to the AST matcher tutorial.
...
Patch by Jochen Eisinger.
llvm-svn: 179758
2013-04-18 14:30:45 +00:00
Bob Wilson
fd4f39e893
Add description of -Ofast optimization option to the man page. <rdar://13660458>
...
llvm-svn: 179733
2013-04-17 22:32:43 +00:00
Andy Gibbs
9c2ccd622f
Implemented #pragma GCC warning/error in the same mould as #pragma message.
...
llvm-svn: 179687
2013-04-17 16:16:16 +00:00
Manuel Klimek
21ae2519bb
This corrects problems in the LibASTMatchers tutorial.
...
Patch by Jochen Eisinger.
llvm-svn: 179683
2013-04-17 15:02:12 +00:00
Daniel Jasper
dd77743af8
Small improvements to clang-format documentation and integration
...
scripts.
llvm-svn: 179676
2013-04-17 07:55:02 +00:00
Daniel Dunbar
e246fbe40b
[Modules] Convert module specific -fno-modules-autolink into -fno-autolink.
...
- There is no reason to have a modules specific flag for disabling
autolinking. Instead, convert the existing flag into -fno-autolink (which
should cover other autolinking code generation paths like #pragmas if and
when we support them).
llvm-svn: 179612
2013-04-16 18:21:19 +00:00
Dmitri Gribenko
a7d16ceee6
Add an option to parse all comments as documentation comments
...
Patch by Amin Shali.
llvm-svn: 179180
2013-04-10 15:35:17 +00:00
Edwin Vane
9fbb842c6d
Updating cpp11-migrate transform list in ClangTools docs
...
Author: Philip Dunstan <phil@phildunstan.com>
llvm-svn: 179128
2013-04-09 20:51:47 +00:00
Edwin Vane
37ee1d7b80
Adding new AST Matchers isVirtual and isOverride
...
isVirtual - matches CXXMethodDecl nodes for virtual methods
isOverride - matches CXXMethodDecl nodes for methods that override virtual methods from a base class.
Author: Philip Dunstan <phil@philipdunstan.com>
llvm-svn: 179126
2013-04-09 20:46:36 +00:00
Rafael Espindola
9ca6e810b7
Mention the changes in the handling of language linkage in the release notes.
...
llvm-svn: 179094
2013-04-09 12:51:24 +00:00
Peter Collingbourne
54d770cb1f
If the user requested a zero-base-shadow sanitizer, infer -pie and -fPIC when appropriate.
...
Differential Revision: http://llvm-reviews.chandlerc.com/D502
llvm-svn: 179082
2013-04-09 04:35:11 +00:00
Jordan Rose
2de3daa0a2
[analyzer] Enable destructor inlining by default (c++-inlining=destructors).
...
This turns on not only destructor inlining, but inlining of constructors
for types with non-trivial destructors. Per r178516, we will still not
inline the constructor or destructor of anything that looks like a
container unless the analyzer-config option 'c++-container-inlining' is
set to 'true'.
In addition to the more precise path-sensitive model, this allows us to
catch simple smart pointer issues:
#include <memory>
void test() {
std::auto_ptr<int> releaser(new int[4]);
} // memory allocated with 'new[]' should not be deleted with 'delete'
<rdar://problem/12295363>
llvm-svn: 178805
2013-04-04 23:10:29 +00:00
Rafael Espindola
6ae7e50be4
Add 178663 back.
...
http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb went back green
before it processed the reverted 178663, so it could not have been the culprit.
Revert "Revert 178663."
This reverts commit 4f8a3eb2ce5d4ba422483439e20c8cbb4d953a41.
llvm-svn: 178682
2013-04-03 19:27:57 +00:00
Rafael Espindola
985a3abee4
Revert 178663.
...
Looks like it broke http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb
Revert "Don't compute a patched/semantic storage class."
This reverts commit 8f187f62cb0487d31bc4afdfcd47e11fe9a51d05.
llvm-svn: 178681
2013-04-03 19:22:20 +00:00
Rafael Espindola
adea16bd9e
Don't compute a patched/semantic storage class.
...
For variables and functions clang used to store two storage classes. The one
"as written" in the code and a patched one, which, for example, propagates
static to the following decls.
This apparently is from the days clang lacked linkage computation. It is now
redundant and this patch removes it.
llvm-svn: 178663
2013-04-03 15:50:00 +00:00
Edwin Vane
119d3dfcba
Adding a hasLocalQualifiers() AST Matcher.
...
Updated tests and docs.
llvm-svn: 178556
2013-04-02 18:15:55 +00:00
Edwin Vane
ec0748068e
Adding parenType() and innerType() AST Matchers
...
Updated docs and tests.
llvm-svn: 178487
2013-04-01 18:33:34 +00:00
Edwin Vane
584da4043e
Updating LibASTMatchersReference
...
The generator for LibASTMatchersReference.html didn't get run last time
ASTMatchers changes were made. Here are up-to-date docs.
llvm-svn: 178234
2013-03-28 13:50:22 +00:00
Douglas Gregor
bf7fc9c542
<rdar://problem/13509689> Introduce -module-file-info option that provides information about a particular module file.
...
This option can be useful for end users who want to know why they
ended up with a ton of different variants of the "std" module in their
module cache. This problem should go away over time, as we reduce the
need for module variants, but it will never go away entirely.
llvm-svn: 178148
2013-03-27 16:47:18 +00:00
Douglas Gregor
527b1c95df
<rdar://problem/13434605> Periodically prune the module cache so that it does not grow forever.
...
llvm-svn: 177918
2013-03-25 21:19:16 +00:00
Daniel Jasper
4172375713
Update docs after moving clang-format from clang-tools-extra to cfe.
...
llvm-svn: 177729
2013-03-22 12:44:20 +00:00
Dmitri Gribenko
22ee0c17a6
Documentation: fix a typo and formatting
...
llvm-svn: 177722
2013-03-22 10:25:15 +00:00
Douglas Gregor
aeb2a3c3a2
Add future directions for modules
...
llvm-svn: 177707
2013-03-22 07:08:56 +00:00
Douglas Gregor
485996c696
More modules documentation, including the straw-man import declaration syntax and "how to modularize a platform".
...
llvm-svn: 177706
2013-03-22 07:05:07 +00:00
Douglas Gregor
de0beaa8f8
More documentation on the module map language.
...
llvm-svn: 177704
2013-03-22 06:21:35 +00:00
Sean Silva
99c9d9810b
[docs] Point inquisitive users to existing module.map files.
...
llvm-svn: 177552
2013-03-20 18:37:47 +00:00