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

560 Коммитов

Автор SHA1 Сообщение Дата
Marshall Clow 37f7a33267 Minor rework of code example for clarity. No functionality change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161776 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-13 18:56:38 +00:00
Hal Finkel a841c19f78 Add __builtin_readcyclecounter() to produce the @llvm.readcyclecounter() intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161310 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-05 22:03:08 +00:00
Sylvestre Ledru 43e3deeabf Fix some minor typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161036 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-31 06:56:50 +00:00
Sylvestre Ledru 2a700b1ca1 Fix two typos in the doc
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160763 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-25 22:02:37 +00:00
Manuel Klimek a705f1f507 Adds a introductionary document to the Clang AST.
Next steps are adding information about types & source location handling.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160708 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-25 07:28:11 +00:00
Sylvestre Ledru bed28ac1d1 Fix a typo (the the => the)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160622 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-23 08:59:39 +00:00
Jordan Rose bbe0175255 Re-apply r160319 "Don't crash when emitting fixits following Unicode chars"
This time, make sure we don't try to print fixits with newline characters,
since they don't have a valid column width, and they don't look good anyway.

PR13417 (and originally <rdar://problem/11877454>)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160561 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-20 18:50:51 +00:00
Nico Weber 4397289861 Revert r160319, it caused PR13417. Add a test for PR13417.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160542 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-20 06:44:52 +00:00
Dmitri Gribenko 1dfb72f921 Minor cleanups and additions to the users manual. UsersManual.html now validates as HTML 4.01 Strict.
Patch by Jonathan Sauer!  (With minor edits from me.)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160386 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-17 18:51:47 +00:00
Jordan Rose 6f977c3e79 Don't crash when emitting fixits following Unicode characters.
This code is very sensitive to the difference between "columns" as printed
and "bytes" (SourceManager columns). All variables are now named explicitly
and our assumptions are (hopefully) documented as both comment and assertion.

Whether parseable fixits should use byte offsets or Unicode character counts
is pending discussion on the mailing list; currently the implementation uses
bytes (and has no problems on lines containing multibyte characters).
This has been added to the user manual.

<rdar://problem/11877454>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160319 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-16 20:52:12 +00:00
Hans Wennborg 7bf9d9b1da Mention -ftls-model in release notes and manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160169 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-13 12:47:15 +00:00
Manuel Klimek 59d7cc9e4c Updates the example to the latest incarnation of clang-check and
adds a paragraph on builtin headers.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160138 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-12 18:32:50 +00:00
Nico Weber d4047b3d05 Mention -fms-compatibility and -fdelayed-template-parsing in UsersManual.
Also mention that -std=c++11 is now on by default on windows.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160054 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-11 16:56:28 +00:00
Alexander Kornienko a7f2c5670c How to set up clang tools for llvm
Summary: How to guide for setting up clang tooling for llvm repo.

Test Plan: this is untested

Reviewers: klimek, djasper

Reviewed By: klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D3

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160047 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-11 14:27:44 +00:00
Manuel Klimek 3f6d513d51 Update the docs with specifics about escaping of compile commands.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159987 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10 08:05:54 +00:00
Chris Lattner f6385a5d48 Jordan points out that this was incorrect: clang should recover from
*errors* with fixits on them by following the recovery advised by the
fixit, but if it is a fixit on a warning, then obviously the AST 
should be for the code as-written.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159980 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10 05:03:05 +00:00
Jordan Rose 6241e01db9 Add an explanation of -Wobjc-literal-compare to the "Objective-C Literals" page
(per Jean-Daniel's suggestion to keep around an explanation of why
direct comparisons on ObjC literals are a bad idea)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159972 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10 00:20:57 +00:00
Jordan Rose 6deae7cc8d Downgrade the "direct comparison" error for ObjC literals to a warning.
Chris pointed out that while the comparison is certainly problematic
and does not have well-defined behavior, it isn't any worse than some
of the other abuses that we merely warn about and doesn't need to make
the compilation fail.

Revert the release notes change (r159766) now that this is just a new warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159939 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-09 16:54:44 +00:00
Manuel Klimek ef0ebee9a4 Links to the python CXCompilationDatabase documentation.
Patch contributed by David Roethlisberger.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159923 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-09 05:17:45 +00:00
Jordan Rose 996fa80c17 Release notes for r158230 "Disallow using ObjC literals in direct comparisons"
This may turn out to be a controversial change, due to string literals being
uniqued at link time, but Apple's docs only say "The compiler makes such
object constants unique on a per-module basis..."[1] without actually saying
what a "module" is. (It's not a clang module.) Furthermore, this uniqueness
guarantee often can't be guaranteed once the string has been passed through
framework code.

If this does turn out very controversial, we could downgrade this to a
DefaultError warning for strings, and leave it as a true Error for other
kinds of literals.

(<rdar://problem/11300873>)

[1]: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/CreatingStrings.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159766 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-05 18:48:30 +00:00
Kostya Serebryany f45f23493d [asan] update docs: mention MacOS 10.7 and correct the ifdef sample for __has_feature
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159521 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 11:00:33 +00:00
Richard Trieu 529cdf4c2e Update the %diff modifer to have an alternate string print when a template tree
is selected.  This will allow more flexibility when converting diagnostics to
use template type diffing.

Also updated the internal manual and test cases for correctly keeping the bold
attribute and for tree printing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159463 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-29 21:12:16 +00:00
Hans Wennborg de981f3ff1 Add -ftls-model command-line flag.
This allows for setting the default TLS model. (PR9788)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159336 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-28 08:01:44 +00:00
Richard Trieu 4375b084c3 Add missing words to manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159251 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27 02:36:34 +00:00
Richard Trieu e59331ac34 Update documentation with regards to template type diffing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159249 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27 02:00:20 +00:00
Hans Wennborg 5e2d5dec77 Support the tls_model attribute (PR9788)
This adds support for the tls_model attribute. This allows the user to
choose a TLS model that is better than what LLVM would select by
default. For example, a variable might be declared as:

  __thread int x __attribute__((tls_model("initial-exec")));

if it will not be used in a shared library that is dlopen'ed.

This depends on LLVM r159077.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159078 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-23 11:51:46 +00:00
Alexey Samsonov f7a4c35c94 Add release note about -gline-tables-only flag
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158989 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-22 11:18:10 +00:00
Fariborz Jahanian 790880bc3a document _has_feature(objc_default_synthesize_properties).
// rdar://11676972


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158665 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-18 17:13:17 +00:00
Anna Zaks 843f0e87e5 Make the analyzer site a single point of reference for info
on controlling diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158581 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-16 00:30:21 +00:00
Richard Smith f122a138e3 Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
override whether headers are system headers by checking for prefixes of the
header name specified in the #include directive.

This allows warnings to be disabled for third-party code which is found in
specific subdirectories of include paths.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158418 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13 20:27:03 +00:00
Manuel Klimek 1156afd1df Doc fixed as proposed (and mostly contributed) by David Roethlisberger.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158415 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13 19:40:46 +00:00
Michael Han 0cddf59b4b Update clang attribute document.
Remove the instructions on manually adding boilerplate code of AttributeList::Kind and AttributeList::getKind().
Both are now generated by tblgen.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158386 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13 03:51:05 +00:00
Manuel Klimek 8c2467567f Add documentation for the JSON compilation database format.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158365 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-12 17:51:04 +00:00
Manuel Klimek f38d9322df Puts the linktime dependencies into stupid-ld-required order, as proposed by Jordan Rose.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158113 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-06 21:30:34 +00:00
Manuel Klimek 1e282e9266 Documents linking requirements for libtooling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158088 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-06 17:51:31 +00:00
Nico Weber 8003963a55 Document how fixits on errors and warnings must behave.
Review and wording tweaks by Richard.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157953 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-04 21:56:14 +00:00
Benjamin Kramer 48d798ce32 Fix typos found by http://github.com/lyda/misspell-check
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157886 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-02 10:20:41 +00:00
Alexey Samsonov 5ab5249cbf Clang docs update: list command-line flags that control the size of generated debug information. Reviewed by chandlerc@ and echristo@.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157681 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-30 06:55:10 +00:00
Dmitri Gribenko ccc4edf662 Close HTML tag properly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157533 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-27 14:08:44 +00:00
Richard Smith bdb97ff687 In response to some discussions on IRC, tweak the wording of the new
-Wsometimes-uninitialized diagnostics to make it clearer that the cause
of the issue may be a condition which must always evaluate to true or
false, rather than an uninitialized variable.

To emphasize this, add a new note with a fixit which removes the
impossible condition or replaces it with a constant.

Also, downgrade the diagnostic from -Wsometimes-uninitialized to
-Wconditional-uninitialized when it applies to a range-based for loop,
since the condition is not written explicitly in the code in that case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157511 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-26 06:20:46 +00:00
Richard Smith b264702bd9 Release notes update for -Wsometimes-uninitialized.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157459 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-25 02:35:34 +00:00
Manuel Klimek b7ac658594 Adds menu sidebar to the docs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157399 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24 17:16:23 +00:00
Manuel Klimek 0fe1e1fcc5 Updates the tooling docs with the links to the tutorials and
adds the menu include.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157397 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24 17:09:10 +00:00
Manuel Klimek 882d794c74 Adds a tutorial for how to write clang plugins.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157396 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24 17:07:18 +00:00
Bill Wendling c0bb312760 Remove 3.1 release notes to get ready for current development cycle.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157379 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24 06:42:56 +00:00
Kostya Serebryany f291d8ce8a [tsan] grammar fixes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156984 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-17 08:49:14 +00:00
Kostya Serebryany 53243800fe [tsan] fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156912 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16 08:19:13 +00:00
Kostya Serebryany e2789bba21 [tsan] first version of ThreadSanitizer docs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156910 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16 08:14:36 +00:00
Argyrios Kyrtzidis 89deb3f041 Add documentation about boxing enum types and a codegen test to make
sure we pick up the underlying type, per suggestion by Fariborz.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156851 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-15 20:45:35 +00:00
David Chisnall d66117b72e Add a note about atomic builtins to c11 section of release notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156820 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-15 13:18:03 +00:00
Jean-Daniel Dupas 332f9aa53f Fix Xcode case (Upper X, lower c)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156742 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-13 14:32:11 +00:00
Gregory Szorc 63419001f0 Add Python binding info to release notes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156721 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-12 20:45:56 +00:00
Chris Lattner 396663b22c remove something that is really old and out of date.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156206 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-04 21:11:08 +00:00
Richard Smith fff4a44caa Fix typo and avoid layout issue with almost-but-not-quite-fixed-width fonts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156095 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03 20:10:41 +00:00
Richard Smith 207653c37d Minor copy-edits to clang::fallthrough attribute documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156094 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03 20:05:46 +00:00
Richard Smith e0d3b4cd2b Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
can be used to suppress the warning in the case of intentional fallthrough.

Patch by Alexander Kornienko!

The handling of C++11 attribute namespaces in this patch is temporary, and will
be replaced with a cleaner mechanism in a subsequent patch.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156086 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03 18:27:39 +00:00
Richard Smith 526cda38f9 The release notes are no place for modesty.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155681 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-27 00:40:44 +00:00
Manuel Klimek 74eb4af18e Adds a tutorial on how to write RAV based ASTFrontendActions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155631 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26 08:49:54 +00:00
Manuel Klimek 981d1ec3fd Reverted unintentional commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155629 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26 08:46:12 +00:00
Manuel Klimek d9ed0fd0d1 Adds a small tutorial on how to write RAV based ASTFrontendActions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155627 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26 08:35:39 +00:00
Manuel Klimek d80d484168 Adds documentation for how to use the tooling library.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155550 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-25 14:20:13 +00:00
Manuel Klimek 9771a9e572 Adds a document describing the various tooling approaches and their pros and
cons.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155549 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-25 13:57:00 +00:00
Kostya Serebryany 219cd6cb5f [asan] fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155345 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-23 10:15:18 +00:00
Kostya Serebryany cef57e55fb [asan] update docs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155343 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-23 09:05:50 +00:00
Patrick Beard 16c111ba80 Added equivalent method calls in examples.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155155 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 20:48:09 +00:00
Richard Smith c495e60747 Formatting fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155141 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 17:46:52 +00:00
David Blaikie a9639620e0 Fix a broken link. Patch by Nikola Smiljanic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155139 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 17:21:46 +00:00
Patrick Beard dd9fe59a9a Clarified encoding of boxed C strings, balanced all <p> with </p>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155126 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 14:33:55 +00:00
Patrick Beard ab8f4da25d Changed title.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155088 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 01:30:47 +00:00
Patrick Beard f7736eae85 Changed wording of availability.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155086 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 01:02:16 +00:00
Patrick Beard eb382ec150 Implements boxed expressions for Objective-C. <rdar://problem/10194391>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155082 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-19 00:25:12 +00:00
Richard Smith 95e7aaf46a Mention atomics support in the release notes.
Thanks to Nico Weber for the suggestion.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154648 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-13 01:24:35 +00:00
Richard Smith fafbf06732 Provide, and document, a set of __c11_atomic_* intrinsics to implement C11's
<stdatomic.h> header.

In passing, fix LanguageExtensions to note that C11 and C++11 are no longer
"upcoming standards" but are now actually standardized.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154513 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-11 17:55:32 +00:00
Douglas Gregor 316551f079 Add a query macro for C++11 N3276, decltype does not require complete
return types, from Michel Morin!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154428 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 20:00:33 +00:00
Daniel Dunbar 85ff9693b1 [Lex] Add support for 'user specified system frameworks' (see test case).
- Developers of system frameworks need a way for their framework to be treated as a "system framework" during development. Otherwise, they are unable to properly test how their framework behaves when installed because of the semantic changes (in warning behavior) applied to system frameworks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154105 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-05 17:10:06 +00:00
David Blaikie f76e7f740a RelNote improvements made to -Wliteral-conversion by r141955.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154071 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-05 00:47:38 +00:00
Manuel Klimek 92f74097df Updated release notes for tooling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154012 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-04 12:53:16 +00:00
Douglas Gregor 7b156ddae8 Add feature check "cxx_local_type_template_args" describing support
for templates with local template arguments, from Michel Morin! Fixes
PR12337.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153983 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-04 00:48:39 +00:00
John McCall 100c6491c9 Forbid the block and lambda copy-capture of __autoreleasing variables
in ARC, under the usual reasoning limiting the use of __autoreleasing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153725 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-30 05:23:48 +00:00
John McCall 9da31cb1c5 Update the ARC specification for several changes made in the
last N months.  This required a brief soliloquy about change in
an uncertainly-versioned world.

I believe I've gotten the right target versions on all these changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153501 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-27 07:42:12 +00:00
Richard Smith 1f4c54d9b0 Forward-declared enumerations are now complete, except for an interaction
between unscoped enumerations and class template member specializations,
whose behavior is currently under discussion in CWG (and for which there
is a preference to not implement the currently-standardized wording).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153464 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-26 20:31:41 +00:00
Richard Smith ec5a306dd4 Revert accidentally-committed www changes (and an unused diagnostic);
forward-declared enums aren't /quite/ done yet.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153350 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-23 23:11:49 +00:00
Richard Smith 3343fad1f1 When defining a forward-declared enum, don't try to attach the definition to
a previous declaration if the redeclaration is invalid. That way lies madness.
Fixes a crash-on-invalid reported by Abramo.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153349 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-23 23:09:08 +00:00
Patrick Beard 1526f54368 Removed repeated word (of of).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153195 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-21 16:22:53 +00:00
Patrick Beard a62c3805ce numberWithFloat -> numberWithDouble.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153146 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 22:24:08 +00:00
Patrick Beard 2498885902 Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153142 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 21:52:11 +00:00
Patrick Beard 62f1234457 Added summary section for Object Literals and Subscripting, which contains the external link.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153141 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 21:51:03 +00:00
Patrick Beard ca7f5bdf8b Fixed typos.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153126 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 21:09:25 +00:00
Patrick Beard 7f919c8c84 Link to Objective-C literals documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153124 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 20:51:09 +00:00
Patrick Beard af39ba12af Objective-C literals documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153123 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 20:50:45 +00:00
Patrick Beard c407f25212 Test commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153096 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-20 17:25:17 +00:00
Benjamin Kramer b4556860fb LanguageExtensions: Manually word wrap a line to reduce horizontal scrolling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153048 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-19 19:12:30 +00:00
Kostya Serebryany 684944e53c fix link
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152806 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-15 16:22:06 +00:00
Kostya Serebryany abc31cac3d [asan] update asan docs: mention CMake problem and to explain the status of MacOS 10.7 and 32-bit Linux
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152805 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-15 16:20:29 +00:00
Douglas Gregor 594f841934 Document the weak-linking behavior of the availability attribute
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152543 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-11 17:21:03 +00:00
Douglas Gregor 93a7067302 Document the availability attribute
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152531 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-11 04:53:21 +00:00
Douglas Gregor bccda480f4 Clarify even further that the lambda-to-block-pointer conversion is only available in Objective-C++
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152511 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-10 22:20:11 +00:00
Douglas Gregor 8a4e1829d6 Document the conversion from a lambda closure type to a block pointer
in Objective-C++.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152446 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 23:24:48 +00:00
Richard Smith 69e7692ded Add user-defined literals to release notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152424 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 19:09:47 +00:00
Richard Smith 9c1dda7d7b User-defined literals are done.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152396 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 08:41:27 +00:00