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

55 Коммитов

Автор SHA1 Сообщение Дата
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
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 ec92bc7897 Add a pile of tests for unrestricted unions, and advertise support for them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151992 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-03 23:51:05 +00:00
Jean-Daniel Dupas 3fd808742e Fix Typo in 'objc changes' anchor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151978 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-03 13:37:22 +00:00
Richard Smith 88189556c5 Update release notes and language extensions pages to note that support for
generalized initializers is available.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151477 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-26 07:09:21 +00:00
Douglas Gregor f28ded5e13 Fix indentation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151264 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 17:54:00 +00:00
Douglas Gregor 09315f326d Note that lambda expressions are available in the release notes for 3.1
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151263 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-23 17:51:51 +00:00
Dmitri Gribenko 65005eb83b Add -Wstrncat-size and -Wempty-body to release notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150879 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-18 14:13:26 +00:00
Nico Weber 0460651695 Add a few minor items to the 3.1 release notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150656 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-16 02:35:03 +00:00
Richard Smith 45fb995781 Start off release notes for clang 3.1 with reference to C11 anonymous structs
and unions, and C++11 generalized constant expressions.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150640 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-16 00:32:27 +00:00
Benjamin Kramer 665a8dc953 Fix ALL the markup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148219 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-15 15:26:07 +00:00
Peter Collingbourne 375f7c4842 Add Clang release notes for OpenCL C support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145360 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 02:03:07 +00:00
Peter Collingbourne 5cc989e8d7 Fix URL typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145359 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 02:03:03 +00:00
Chandler Carruth ee77d3d709 Fix a spelling error pointed out by Sebastien, and tidy up the
formatting here a bit... mostly to my preferred bikeshed-blue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145337 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 00:24:20 +00:00
Chandler Carruth f9e2e18847 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. =]

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145336 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 00:24:18 +00:00
Chandler Carruth 45901b3f1b 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145335 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 00:15:26 +00:00
Chandler Carruth 52e375e6f2 And sink the GNU runtime bit into this section as a stub.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145334 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 00:15:25 +00:00
Chandler Carruth 4d58212ab1 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145333 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-29 00:15:23 +00:00
Rafael Espindola a5c502cccc CFI is mentioned on the LLVM releases as the clang bits are relatively small.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145325 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:58:04 +00:00
Francois Pichet 0c2198a579 Update release notes with 2 features now supported in -fms-extensions mode.
I think that's enough for my release notes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145320 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:46:15 +00:00
Richard Smith 4793138375 Release notes: add link to ISO C++ 2011 standard from the C++11 section.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145317 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:35:03 +00:00
Francois Pichet 551988f1bf Update release notes with information on MSVC mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145315 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:30:46 +00:00
Richard Smith ad5459a67c Release notes: fix up formatting of diagnostic example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145311 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:16:15 +00:00
Chandler Carruth 185e9305f5 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145309 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:11:27 +00:00
Chandler Carruth 9c35304325 Create a stub for Nick to hack on, nuking another of my rough notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145308 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 23:02:13 +00:00
Chandler Carruth 2f37685005 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145307 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:54:33 +00:00
Chandler Carruth 3030b744fa Remove some features that don't really seem major enough or widely used
enough to merit space in the release notes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145306 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:54:31 +00:00
Richard Smith 62d730fcf9 Add a release notes section for C1X language features supported by clang 3.0.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145305 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:48:25 +00:00
Chandler Carruth 9a1671277f Pull out the libclang section and try to clean it up some. This one
feels a bit spartan currently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145302 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:43:32 +00:00
Chandler Carruth 21480b7638 We now have text (or comment stubs for others) for these...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145299 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:36:40 +00:00
Chandler Carruth 58f2cbc083 Expand and clean up the diagnostics section.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145298 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:34:59 +00:00
Chandler Carruth a0df07dd0d 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145291 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:17:58 +00:00
Chandler Carruth 59abf06409 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...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145288 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:12:44 +00:00
Chandler Carruth bfa55258fd Peter says this shouldn't make it to the relnotes, it's too immature at
this stage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145286 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:06:59 +00:00
Chandler Carruth b882a1dbb2 Flesh out and pretty-up the driver section. This could probably use some
more love w.r.t. platforms other than Linux?

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145285 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 21:56:30 +00:00
Chandler Carruth bc02a043ff Add a brief mention of the warning flag name updates associated with the
C++11 standard.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145284 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 21:55:34 +00:00
Chandler Carruth f16d725302 Tidy up, wrap lines, and use <code> tags more consistently.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145283 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 21:47:51 +00:00
Anna Zaks a5a6d1d859 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145281 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 21:31:55 +00:00
Richard Smith 855746bfab Add a release notes section on new C++11 language features, and flesh it out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145268 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 20:02:05 +00:00
Chandler Carruth c6f2af3494 Add a proper blurb for the PPCallbacks features.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145261 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 19:17:25 +00:00
Chandler Carruth a621065995 This doesn't really seem worthy of a relnote... Shout if you disagree!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145259 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 19:11:25 +00:00
Chandler Carruth 7d727b79b0 Fill in a section for the instantiation -> expansion rename. Not great,
but better.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145258 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 19:06:34 +00:00
Chandler Carruth c4dbffa863 Add proper text for the Diagnostic API changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145257 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 18:55:47 +00:00
Douglas Gregor a1e3e8c94e Add a release note for Objective-C related result types
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145252 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 17:51:39 +00:00
Douglas Gregor 7c304c4fea Note that code completion now works better for in-class member functions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145251 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 17:50:36 +00:00
Chandler Carruth 7a1f148710 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145247 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 13:02:29 +00:00
Chandler Carruth 7717ce4c45 Finished with August's commits, and actually added a clearly missing
section on libclang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145246 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 12:24:23 +00:00
Chandler Carruth 5d46a50128 July's notes..
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145245 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 12:24:21 +00:00