Hans Wennborg
d3b01bc7c6
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.
llvm-svn: 159078
2012-06-23 11:51:46 +00:00
Alexey Samsonov
caef7e813b
Add release note about -gline-tables-only flag
...
llvm-svn: 158989
2012-06-22 11:18:10 +00:00
Richard Smith
1bb8edb8ac
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.
llvm-svn: 157511
2012-05-26 06:20:46 +00:00
Richard Smith
cff136cda8
Release notes update for -Wsometimes-uninitialized.
...
llvm-svn: 157459
2012-05-25 02:35:34 +00:00
Bill Wendling
2495bca543
Remove 3.1 release notes to get ready for current development cycle.
...
llvm-svn: 157379
2012-05-24 06:42:56 +00:00
David Chisnall
ab5edc3e89
Add a note about atomic builtins to c11 section of release notes.
...
llvm-svn: 156820
2012-05-15 13:18:03 +00:00
Gregory Szorc
dcbc96705d
Add Python binding info to release notes
...
llvm-svn: 156721
2012-05-12 20:45:56 +00:00
Richard Smith
641a87b983
The release notes are no place for modesty.
...
llvm-svn: 155681
2012-04-27 00:40:44 +00:00
Richard Smith
165039d49d
Mention atomics support in the release notes.
...
Thanks to Nico Weber for the suggestion.
llvm-svn: 154648
2012-04-13 01:24:35 +00:00
David Blaikie
174ca49180
RelNote improvements made to -Wliteral-conversion by r141955.
...
llvm-svn: 154071
2012-04-05 00:47:38 +00:00
Manuel Klimek
d01a99ea41
Updated release notes for tooling.
...
llvm-svn: 154012
2012-04-04 12:53:16 +00:00
Richard Smith
6da64f39d4
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).
llvm-svn: 153464
2012-03-26 20:31:41 +00:00
Richard Smith
34bd1eb560
Revert accidentally-committed www changes (and an unused diagnostic);
...
forward-declared enums aren't /quite/ done yet.
llvm-svn: 153350
2012-03-23 23:11:49 +00:00
Richard Smith
b66d77793f
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.
llvm-svn: 153349
2012-03-23 23:09:08 +00:00
Richard Smith
f5a0d10c2c
Add user-defined literals to release notes.
...
llvm-svn: 152424
2012-03-09 19:09:47 +00:00
Richard Smith
522fa53703
Add a pile of tests for unrestricted unions, and advertise support for them.
...
llvm-svn: 151992
2012-03-03 23:51:05 +00:00
Jean-Daniel Dupas
999892f0d0
Fix Typo in 'objc changes' anchor.
...
llvm-svn: 151978
2012-03-03 13:37:22 +00:00
Richard Smith
2dc867f4e3
Update release notes and language extensions pages to note that support for
...
generalized initializers is available.
llvm-svn: 151477
2012-02-26 07:09:21 +00:00
Douglas Gregor
e5809a0aaf
Fix indentation
...
llvm-svn: 151264
2012-02-23 17:54:00 +00:00
Douglas Gregor
1fe7e90758
Note that lambda expressions are available in the release notes for 3.1
...
llvm-svn: 151263
2012-02-23 17:51:51 +00:00
Dmitri Gribenko
e72fa2c113
Add -Wstrncat-size and -Wempty-body to release notes.
...
llvm-svn: 150879
2012-02-18 14:13:26 +00:00
Nico Weber
2668f0a132
Add a few minor items to the 3.1 release notes.
...
llvm-svn: 150656
2012-02-16 02:35:03 +00:00
Richard Smith
7e14ddd41b
Start off release notes for clang 3.1 with reference to C11 anonymous structs
...
and unions, and C++11 generalized constant expressions.
llvm-svn: 150640
2012-02-16 00:32:27 +00:00
Benjamin Kramer
eaa262b5b8
Fix ALL the markup.
...
llvm-svn: 148219
2012-01-15 15:26:07 +00:00
Peter Collingbourne
a35dcd2310
Add Clang release notes for OpenCL C support.
...
llvm-svn: 145360
2011-11-29 02:03:07 +00:00
Peter Collingbourne
33d838c499
Fix URL typo.
...
llvm-svn: 145359
2011-11-29 02:03:03 +00:00
Chandler Carruth
d196a1e637
Fix a spelling error pointed out by Sebastien, and tidy up the
...
formatting here a bit... mostly to my preferred bikeshed-blue.
llvm-svn: 145337
2011-11-29 00:24:20 +00:00
Chandler Carruth
9a39b455aa
Remove the last of my notes. I don't think these really need to be in
...
the release notes despite their awesomeness. If we had a thorough
discussion of the performance of Clang in 2.9 vs. 3.0, the first would
be more relevant, but we don't. The serialization stuff hopefully isn't
terribly visible to end users.
Objections to these omissions are of course welcome. =]
llvm-svn: 145336
2011-11-29 00:24:18 +00:00
Chandler Carruth
cb9f4c7fde
Last major chunk of features. This covers a couple of language
...
extensions and one infrastructure feature addition that has a direct
impact on other projects which use Clang.
llvm-svn: 145335
2011-11-29 00:15:26 +00:00
Chandler Carruth
30befa0f7a
And sink the GNU runtime bit into this section as a stub.
...
llvm-svn: 145334
2011-11-29 00:15:25 +00:00
Chandler Carruth
1ef751f4a5
Flesh out the Objective-C section a bit. This may well need some love
...
from the Objective-C experts, but the basic stuff is there now.
llvm-svn: 145333
2011-11-29 00:15:23 +00:00
Rafael Espindola
e11c5f2d63
CFI is mentioned on the LLVM releases as the clang bits are relatively small.
...
llvm-svn: 145325
2011-11-28 23:58:04 +00:00
Francois Pichet
2a69e24291
Update release notes with 2 features now supported in -fms-extensions mode.
...
I think that's enough for my release notes.
llvm-svn: 145320
2011-11-28 23:46:15 +00:00
Richard Smith
0e8f5c7e9b
Release notes: add link to ISO C++ 2011 standard from the C++11 section.
...
llvm-svn: 145317
2011-11-28 23:35:03 +00:00
Francois Pichet
44cb7b6354
Update release notes with information on MSVC mode.
...
llvm-svn: 145315
2011-11-28 23:30:46 +00:00
Richard Smith
a7c7e2bb84
Release notes: fix up formatting of diagnostic example.
...
llvm-svn: 145311
2011-11-28 23:16:15 +00:00
Chandler Carruth
67f5d88869
Extract a Windows section in the release notes. Hopefully this is more
...
accurate than my original notes were based on IRC conversations. Windows
folks, please edit as needed to make this closer to the truth if I've
still got it wrong.
llvm-svn: 145309
2011-11-28 23:11:27 +00:00
Chandler Carruth
2d4fc0c329
Create a stub for Nick to hack on, nuking another of my rough notes.
...
llvm-svn: 145308
2011-11-28 23:02:13 +00:00
Chandler Carruth
17ca53c12c
Pull the uninitialized values rewrite into the diagnostics section, and
...
add a bit to that section about the many bug-finding warnings that Clang
has grown since 2.9 as this is one of the more visible new additions.
llvm-svn: 145307
2011-11-28 22:54:33 +00:00
Chandler Carruth
6111e359e0
Remove some features that don't really seem major enough or widely used
...
enough to merit space in the release notes.
llvm-svn: 145306
2011-11-28 22:54:31 +00:00
Richard Smith
66fced550e
Add a release notes section for C1X language features supported by clang 3.0.
...
llvm-svn: 145305
2011-11-28 22:48:25 +00:00
Chandler Carruth
2679f3cb12
Pull out the libclang section and try to clean it up some. This one
...
feels a bit spartan currently.
llvm-svn: 145302
2011-11-28 22:43:32 +00:00
Chandler Carruth
124d8ff0da
We now have text (or comment stubs for others) for these...
...
llvm-svn: 145299
2011-11-28 22:36:40 +00:00
Chandler Carruth
7252e7a949
Expand and clean up the diagnostics section.
...
llvm-svn: 145298
2011-11-28 22:34:59 +00:00
Chandler Carruth
270e4511a7
Create a more organized (but still commented out as not very useful)
...
stub for OpenCL work. I can't really dig enough out of the commit log
messages other than to tell that a lot of work went into this in the 2.9
-> 3.0 timeframe. I'll let the folks touching it decide if it merits
a spot in the release notes and provide the appropriate details if so.
llvm-svn: 145291
2011-11-28 22:17:58 +00:00
Chandler Carruth
b843b0be6b
Create a 3.1 notes section in a comment so that the next batch are a bit
...
easier. Move the CUDA bits and the C1X/C++11 atomics stuff there. We
haven't exposed a __has_feature for the atomic builtins, so none of this
is available yet...
llvm-svn: 145288
2011-11-28 22:12:44 +00:00
Chandler Carruth
c869fb3be9
Peter says this shouldn't make it to the relnotes, it's too immature at
...
this stage.
llvm-svn: 145286
2011-11-28 22:06:59 +00:00
Chandler Carruth
c8b093de54
Flesh out and pretty-up the driver section. This could probably use some
...
more love w.r.t. platforms other than Linux?
llvm-svn: 145285
2011-11-28 21:56:30 +00:00
Chandler Carruth
8ecf3c970b
Add a brief mention of the warning flag name updates associated with the
...
C++11 standard.
llvm-svn: 145284
2011-11-28 21:55:34 +00:00
Chandler Carruth
f99d03b489
Tidy up, wrap lines, and use <code> tags more consistently.
...
llvm-svn: 145283
2011-11-28 21:47:51 +00:00