John McCall
01a360f06c
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.
llvm-svn: 153501
2012-03-27 07:42:12 +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
Patrick Beard
5e0bccf2d0
Removed repeated word (of of).
...
llvm-svn: 153195
2012-03-21 16:22:53 +00:00
Patrick Beard
aae4a392e5
numberWithFloat -> numberWithDouble.
...
llvm-svn: 153146
2012-03-20 22:24:08 +00:00
Patrick Beard
0661d0fc42
Fixed typo.
...
llvm-svn: 153142
2012-03-20 21:52:11 +00:00
Patrick Beard
f964c7be8d
Added summary section for Object Literals and Subscripting, which contains the external link.
...
llvm-svn: 153141
2012-03-20 21:51:03 +00:00
Patrick Beard
bbb7ffc63f
Fixed typos.
...
llvm-svn: 153126
2012-03-20 21:09:25 +00:00
Patrick Beard
fbb2e46299
Link to Objective-C literals documentation.
...
llvm-svn: 153124
2012-03-20 20:51:09 +00:00
Patrick Beard
958c98ab4b
Objective-C literals documentation.
...
llvm-svn: 153123
2012-03-20 20:50:45 +00:00
Patrick Beard
85bdcfc97b
Test commit.
...
llvm-svn: 153096
2012-03-20 17:25:17 +00:00
Benjamin Kramer
26dbe37993
LanguageExtensions: Manually word wrap a line to reduce horizontal scrolling.
...
llvm-svn: 153048
2012-03-19 19:12:30 +00:00
Kostya Serebryany
8b0a575065
fix link
...
llvm-svn: 152806
2012-03-15 16:22:06 +00:00
Kostya Serebryany
83d2a94e3a
[asan] update asan docs: mention CMake problem and to explain the status of MacOS 10.7 and 32-bit Linux
...
llvm-svn: 152805
2012-03-15 16:20:29 +00:00
Douglas Gregor
c683e4a8e9
Document the weak-linking behavior of the availability attribute
...
llvm-svn: 152543
2012-03-11 17:21:03 +00:00
Douglas Gregor
fdd417fcee
Document the availability attribute
...
llvm-svn: 152531
2012-03-11 04:53:21 +00:00
Douglas Gregor
cffca4a014
Clarify even further that the lambda-to-block-pointer conversion is only available in Objective-C++
...
llvm-svn: 152511
2012-03-10 22:20:11 +00:00
Douglas Gregor
bcfe5582a5
Document the conversion from a lambda closure type to a block pointer
...
in Objective-C++.
llvm-svn: 152446
2012-03-09 23:24:48 +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
5023188315
User-defined literals are done.
...
llvm-svn: 152396
2012-03-09 08:41:27 +00:00
Richard Smith
1e3c1d38f2
Correct the documentation to give a legal example of a raw string literal.
...
llvm-svn: 152216
2012-03-07 08:57:31 +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
Kostya Serebryany
b187449435
add documentation for -f[no-]thread-sanitizer and -f[no-]address-sanitizer to docs/UsersManual.html
...
llvm-svn: 151858
2012-03-01 23:14:19 +00:00
Jean-Daniel Dupas
908f130d58
Implement double underscore names support in __has_attribute
...
llvm-svn: 151809
2012-03-01 14:53:16 +00:00
Richard Smith
d18cd186d0
Correct an example of a feature name to actually use a feature name rather
...
than an attribute name. Patch by Michel Morin!
llvm-svn: 151791
2012-03-01 02:12:07 +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
Richard Smith
2cca7b5ca9
Accept __has_feature(__feature__) as a synonym for __has_feature(feature) (and
...
likewise for __has_extension). Patch by Jonathan Sauer!
llvm-svn: 151445
2012-02-25 10:41:10 +00:00
Douglas Gregor
29c42f2a25
Implement a new type trait __is_trivially_constructible(T, Args...)
...
that provides the behavior of the C++11 library trait
std::is_trivially_constructible<T, Args...>, which can't be
implemented purely as a library.
Since __is_trivially_constructible can have zero or more arguments, I
needed to add Yet Another Type Trait Expression Class, this one
handling arbitrary arguments. The next step will be to migrate
UnaryTypeTrait and BinaryTypeTrait over to this new, more general
TypeTrait class.
Fixes the Clang side of <rdar://problem/10895483> / PR12038.
llvm-svn: 151352
2012-02-24 07:38:34 +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
Douglas Gregor
64bfb2e88e
Clang supports lambdas.
...
llvm-svn: 151239
2012-02-23 05:44:09 +00:00
Chad Rosier
c41c5a8c39
Improve placement of clang crash diagnostics section.
...
llvm-svn: 151192
2012-02-22 20:26:10 +00:00
Chad Rosier
35d14d91c2
Add clang crash diagnostic info and associated flags to Clang user manual.
...
llvm-svn: 151184
2012-02-22 19:14:46 +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
David Blaikie
040a3a28f1
Remove the unuseful -fdiagnostics-show-name
...
This option was added in r129614 and doesn't have any use case that I'm aware
of. It's possible that external tools are using these names - and if that's
the case we can certainly reassess the functionality, but for now it lets us
shave out a few unneeded bits from clang.
Move the "StaticDiagNameIndex" table into the only remaining consumer, diagtool.
This removes the actual diagnostic name strings from clang entirely.
Reviewed by Chris Lattner & Ted Kremenek.
llvm-svn: 150612
2012-02-15 19:45:34 +00:00
Richard Smith
1cb2af0b3a
Advertize support for constexpr.
...
llvm-svn: 150524
2012-02-14 22:56:17 +00:00
Michael J. Spencer
9dc864b6ce
Fix broken link. I believe this has been broken for at least 7 months.
...
llvm-svn: 150329
2012-02-12 09:11:39 +00:00
Benjamin Kramer
a20863e67d
Fix a typo (builting -> builtin).
...
Patch by Afriza N. Arief!
llvm-svn: 149822
2012-02-05 11:24:56 +00:00
Kostya Serebryany
588d6abf7d
The following patch adds __attribute__((no_address_safety_analysis)) which will allow to disable
...
address safety analysis (such as e.g. AddressSanitizer or SAFECode) for a specific function.
When building with AddressSanitizer, add AddressSafety function attribute to every generated function
except for those that have __attribute__((no_address_safety_analysis)).
With this patch we will be able to
1. disable AddressSanitizer for a particular function
2. disable AddressSanitizer-hostile optimizations (such as some cases of load widening) when AddressSanitizer is on.
llvm-svn: 148842
2012-01-24 19:25:38 +00:00
Kostya Serebryany
8c84d4591d
[asan] document the need for -fno-optimize-sibling-calls
...
llvm-svn: 148716
2012-01-23 18:50:23 +00:00
Benjamin Kramer
83369b3377
Tweak markup.
...
llvm-svn: 148221
2012-01-15 16:42:14 +00:00
Anton Yartsev
e89856784c
added descriptions of vector extensions, info about vector literals and vector operations.
...
llvm-svn: 148220
2012-01-15 16:22:24 +00:00
Benjamin Kramer
eaa262b5b8
Fix ALL the markup.
...
llvm-svn: 148219
2012-01-15 15:26:07 +00:00
Kostya Serebryany
417dfe7a16
[asan] mention -fno-omit-frame-pointer in the docs
...
llvm-svn: 147663
2012-01-06 17:35:27 +00:00
Benjamin Kramer
e56f393249
Mass rename C1x references to C11. The name hasn't proliferated like "C++0x" so this patch is surprisingly small.
...
Also drop -Wc1x-extensions in favor of -Wc11-extensions. I don't think we need to keep this around for compatibility.
llvm-svn: 147221
2011-12-23 17:00:35 +00:00
Douglas Gregor
12aa609fd9
Fix typo 'typdefs', from Nikola Smiljanic
...
llvm-svn: 146894
2011-12-19 19:50:23 +00:00
Chris Lattner
ac2bda8dd0
fix a broken link
...
llvm-svn: 146859
2011-12-19 07:49:23 +00:00
Chris Lattner
ee9c24a40b
clarify that clang version number macros are marketing version #'s, not something useful.
...
llvm-svn: 146672
2011-12-15 19:06:36 +00:00
Kostya Serebryany
7c5c789e38
[asan] update asan docs
...
llvm-svn: 146446
2011-12-12 23:22:31 +00:00
Richard Smith
eb45aa0b2e
Document the updated behaviour of __builtin_constant_p introduced in r146236.
...
llvm-svn: 146241
2011-12-09 03:40:28 +00:00
Chris Lattner
1e13e8ac97
we got badgered into supporting multi-alternative constraints.
...
llvm-svn: 145822
2011-12-05 18:29:03 +00:00
Douglas Gregor
dca70af22f
Implement support for the __is_final type trait, to determine whether
...
a class is marked 'final', from Alberto Ganesh Barbati! Fixes
PR11462.
llvm-svn: 145775
2011-12-03 18:14:24 +00:00
Kostya Serebryany
3aac38e90f
[asan] update docs to allow, but discourage, -O0
...
llvm-svn: 145653
2011-12-02 00:24:42 +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
Kostya Serebryany
1283ccf273
fix html markup
...
llvm-svn: 145297
2011-11-28 22:34:10 +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
Anna Zaks
c086f0f91b
Cleanup the Release Notes for the static analyzer:
...
The performance improvement was committed after the 3.0 branch.
Constructors/destructors are handled by the CFG, but we do not do anything
special for them in the analyzer yet.
Since we do not have an open source release qualification for the analyzer,
we are not investing into creating the proper release notes for it.
llvm-svn: 145281
2011-11-28 21:31:55 +00:00
Kostya Serebryany
9751d340db
First version of AddressSanitizer docs; documentation for __has_feature(address_sanitizer)
...
llvm-svn: 145276
2011-11-28 20:51:02 +00:00
Richard Smith
7a5898c3fe
Add a release notes section on new C++11 language features, and flesh it out.
...
llvm-svn: 145268
2011-11-28 20:02:05 +00:00
Chandler Carruth
48f8f9fdb1
Add a proper blurb for the PPCallbacks features.
...
llvm-svn: 145261
2011-11-28 19:17:25 +00:00
Chandler Carruth
9252724a04
This doesn't really seem worthy of a relnote... Shout if you disagree!
...
llvm-svn: 145259
2011-11-28 19:11:25 +00:00
Chandler Carruth
61a0421cf4
Fill in a section for the instantiation -> expansion rename. Not great,
...
but better.
llvm-svn: 145258
2011-11-28 19:06:34 +00:00
Chandler Carruth
34dfcc5570
Add proper text for the Diagnostic API changes.
...
llvm-svn: 145257
2011-11-28 18:55:47 +00:00
Douglas Gregor
08dbbbb338
Add a release note for Objective-C related result types
...
llvm-svn: 145252
2011-11-28 17:51:39 +00:00
Douglas Gregor
6cfe81e603
Note that code completion now works better for in-class member functions
...
llvm-svn: 145251
2011-11-28 17:50:36 +00:00
Chandler Carruth
e2031bbcb8
And that completes my sweep through commits for things that might be
...
worth noting in the release notes. These remain raw notes. I'll be
re-writing them into nice prose first thing tomorrow, with help from
others. A couple of notes for any reading the commits:
If you don't see something that should be mentioned, feel free to add
a note (or even a nicely written section) about it! I haven't really
done the static analyzer justice here as I don't really know what the
significant changes are other than mile-high stuff like watching it grow
C++ support and a more robust CFG. I also worry I've missed important
stuff in the Objective-C world.
If you see something that isn't worth mentioning, just delete it. I know
there are several things like this. I plan to prune the list down as
I flesh things out.
If you're name or email is on a bullet, I'll likely be sending you an
email asking for any input on that subject. For many of these I can fill
in something generic, and I'll just want you to give it a once-over.
However, if you have time, feel free to just write the blurb yourself
and drop it in, or drop it in an email to me.
Finally, *WOW* has a lot happened in Clang... I shouldn't have dreaded
(and put off) this so much, it was kind of awesome to go back and watch
the evolution. Anyways, these should be in a reasonable draft state
early tomorrow.
llvm-svn: 145247
2011-11-28 13:02:29 +00:00
Chandler Carruth
3fc02a2fd9
Finished with August's commits, and actually added a clearly missing
...
section on libclang.
llvm-svn: 145246
2011-11-28 12:24:23 +00:00
Chandler Carruth
2191916305
July's notes..
...
llvm-svn: 145245
2011-11-28 12:24:21 +00:00
Chandler Carruth
e70b005a6d
July was a bit quiet to... except for ARC. ;]
...
llvm-svn: 145242
2011-11-28 11:27:33 +00:00
Chandler Carruth
955ba6c076
June was a quiet month... I can't imagine why... ;]
...
llvm-svn: 145241
2011-11-28 10:57:14 +00:00
Chandler Carruth
a393202377
Notes through another month... a *really* busy month, but mostly bug
...
fixing.
llvm-svn: 145237
2011-11-28 09:43:30 +00:00
Chandler Carruth
7c8e5ff578
Add the first month's commit notes.
...
llvm-svn: 145236
2011-11-28 08:41:06 +00:00