summaryrefslogtreecommitdiffstats
path: root/clang/www
Commit message (Collapse)AuthorAgeFilesLines
* Add warning about CR+LF line endings on Windows.Adrian McCarthy2016-04-201-9/+12
| | | | | | | | s/checkout/check out/ when used as a verb. Differential Revision: http://reviews.llvm.org/D19285 llvm-svn: 266887
* Update getting started docsReid Kleckner2016-04-111-6/+6
| | | | | | | | | | | | compiler-rt is optional. We often get email from users with compiler-rt build errors who don't actually need compiler-rt. Marking it optional should help them avoid those potential problems. While I'm here, update a reference to the build directory and remove an obsolete reference to llvm-gcc. Nobody today is under the impression that Clang depends on GCC. llvm-svn: 265963
* Use VS2015 Project Support for Natvis to eliminate the need to manually ↵Mike Spertus2016-03-281-6/+8
| | | | | | | | | install clang native visualizer This is the clang equivalent to llvm commit 264601. When using Visual Studio 2015, cmake now puts the native visualizers in llvm.sln, so the developer automatically sees custom visualizations. Much thanks to ariccio who provided extensive help on this change. (manual installation still needed on VS2013). llvm-svn: 264603
* P0138R2: Allow direct-list-initialization of an enumeration from an integralRichard Smith2016-03-281-1/+1
| | | | | | value that can convert to the enum's underlying type. llvm-svn: 264564
* Make SemaAccess smarter about determining when a dependent class mightRichard Smith2016-03-231-1/+1
| | | | | | | instantiate to match a friend class declaration. It's still pretty dumb, though. llvm-svn: 264189
* [Cxx1z] Implement Lambda Capture of *this by Value as [=,*this] (P0018R3)Faisal Vali2016-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement lambda capture of *this by copy. For e.g.: struct A { int d = 10; auto foo() { return [*this] (auto a) mutable { d+=a; return d; }; } }; auto L = A{}.foo(); // A{}'s lifetime is gone. // Below is still ok, because *this was captured by value. assert(L(10) == 20); assert(L(100) == 120); If the capture was implicit, or [this] (i.e. *this was captured by reference), this code would be otherwise undefined. Implementation Strategy: - amend the parser to accept *this in the lambda introducer - add a new king of capture LCK_StarThis - teach Sema::CheckCXXThisCapture to handle by copy captures of the enclosing object (i.e. *this) - when CheckCXXThisCapture does capture by copy, the corresponding initializer expression for the closure's data member direct-initializes it thus making a copy of '*this'. - in codegen, when assigning to CXXThisValue, if *this was captured by copy, make sure it points to the corresponding field member, and not, unlike when captured by reference, what the field member points to. - mark feature as implemented in svn Much gratitude to Richard Smith for his carefully illuminating reviews! llvm-svn: 263921
* Mark C++ features implemented in Clang 3.8 as done now that 3.8 has released.Richard Smith2016-03-201-3/+3
| | | | llvm-svn: 263896
* P0184R0: Allow types of 'begin' and 'end' expressions in range-based for ↵Richard Smith2016-03-201-1/+1
| | | | | | loops to differ. llvm-svn: 263895
* Implement support for [[maybe_unused]] in C++1z that is based off existing ↵Aaron Ballman2016-03-091-1/+1
| | | | | | support for unused, and treat it as an extension pre-C++1z. This also means extending the existing unused attribute so that it can be placed on an enum and enumerator, in addition to the other subjects. llvm-svn: 263025
* P0017R1: In C++1z, an aggregate class can have (public non-virtual) base ↵Richard Smith2016-03-081-1/+1
| | | | | | classes; these are initialized as if they were data members. llvm-svn: 262963
* Use class="svn" for features with SVN status.Richard Smith2016-03-081-2/+2
| | | | llvm-svn: 262889
* P0188R1: add support for standard [[fallthrough]] attribute. This is almostRichard Smith2016-03-081-1/+1
| | | | | | | | | | | | | | exactly the same as clang's existing [[clang::fallthrough]] attribute, which has been updated to have the same semantics. The one significant difference is that [[fallthrough]] is ill-formed if it's not used immediately before a switch label (even when -Wimplicit-fallthrough is disabled). To support that, we now build a CFG of any function that uses a '[[fallthrough]];' statement to check. In passing, fix some bugs with our support for statement attributes -- in particular, diagnose their use on declarations, rather than asserting. llvm-svn: 262881
* Implement support for [[nodiscard]] in C++1z that is based off existing ↵Aaron Ballman2016-03-071-1/+1
| | | | | | support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class. llvm-svn: 262872
* Implement P0036R0: remove support for empty unary folds of +, *, |, &.Richard Smith2016-03-041-1/+1
| | | | llvm-svn: 262747
* Update cxx_status with likely new features from Jacksonville WG21 meeting.Richard Smith2016-03-041-1/+56
| | | | llvm-svn: 262743
* Implement the likely resolution of core issue 253.Nico Weber2016-02-191-1/+1
| | | | | | | | | | | | | | | | | | C++11 requires const objects to have a user-provided constructor, even for classes without any fields. DR 253 relaxes this to say "If the implicit default constructor initializes all subobjects, no initializer should be required." clang is currently the only compiler that implements this C++11 rule, and e.g. libstdc++ relies on something like DR 253 to compile in newer versions. This change makes it possible to build code that says `const vector<int> v;' again when using libstdc++5.2 and _GLIBCXX_DEBUG (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60284). Fixes PR23381. http://reviews.llvm.org/D16552 llvm-svn: 261297
* Update cxx_dr_status.html with today's cwg_index.html.Nico Weber2016-02-191-67/+67
| | | | | | | | | Created by: cd www curl -O http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_index.html ./make_cxx_dr_status llvm-svn: 261295
* [analyzer] Add --force-analyze-debug-code option to scan-buildYury Gribov2016-02-181-0/+3
| | | | | | | | | | | | | | to force debug build and hopefully enable more precise warnings. Static Analyzer is much more efficient when built in debug mode (-UNDEBUG) so we advice users to enable it manually. This may be inconvenient in case of large complex projects (think about Linux distros e.g. Android or Tizen). This patch adds a flag to scan-build which inserts -UNDEBUG automatically. Differential Revision: http://reviews.llvm.org/D16200 llvm-svn: 261204
* Test commit, fixed "clang" to "Clang" in docsMandeep Singh Grang2016-02-101-4/+4
| | | | | | | | | | Reviewers: weimingz Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17085 llvm-svn: 260433
* Update documentation to reflect that libc++abi provides __cxa_thread_atexit ↵Richard Smith2016-02-091-12/+20
| | | | | | (and has for quite a while). Also document that we have not yet implemented the new inheriting constructor rules. llvm-svn: 260311
* [www] Update analyzer release notes to correct the checker-278 build date.Devin Coughlin2016-02-061-1/+1
| | | | | | This is not the future. llvm-svn: 259969
* [www] Update analyzer website for checker-278.Devin Coughlin2016-02-062-1/+16
| | | | llvm-svn: 259967
* Mark DR1250 as implementedDavid Majnemer2016-02-011-1/+1
| | | | | | | We implemented this DR back in r258768 but forgot to mark it as implemented. llvm-svn: 259335
* Remove references to autotools build.Alexey Samsonov2016-01-301-3/+0
| | | | llvm-svn: 259278
* Update cxx_dr_status for latest issues list.Richard Smith2016-01-131-383/+1289
| | | | llvm-svn: 257698
* Update make_cxx_dr_status after the 3.8 branch.Richard Smith2016-01-131-2/+2
| | | | llvm-svn: 257695
* Update cxx_dr_status.html after the 3.8 branchHans Wennborg2016-01-131-1/+1
| | | | llvm-svn: 257652
* Fix grammar.Richard Smith2015-12-161-1/+2
| | | | llvm-svn: 255727
* Update our claims about GCC's diagnostics quality to reflect recent ↵Richard Smith2015-12-161-6/+6
| | | | | | improvements to GCC. llvm-svn: 255726
* These days, GCC has at least minimal documentation for its VLAIS extension.Richard Smith2015-12-161-2/+2
| | | | llvm-svn: 255723
* www: Mention -DGCC_INSTALL_PREFIX instead of --with-gcc-toolchainJustin Bogner2015-12-101-1/+1
| | | | | | | Since the instructions use cmake, we should probably refer to the cmake flags and not the configure ones. llvm-svn: 255297
* Update reference to final TM TS spec.Richard Smith2015-11-261-1/+1
| | | | llvm-svn: 254123
* P0002R1: increment on expressions of type bool is no longer allowed in C++1z.Richard Smith2015-11-261-2/+2
| | | | llvm-svn: 254122
* P0001R1: 'register' storage class specifier is no longer permitted in C++1z.Richard Smith2015-11-251-1/+1
| | | | | | | We will still allow it in system headers, in macros from system headers, when combined with an 'asm' label, and under the flag -Wno-register. llvm-svn: 254097
* DR407: Rationalize how we handle tags being hidden by typedefs. Even withRichard Smith2015-11-121-1/+1
| | | | | | | | | | | | | | | | | | DR407, the C++ standard doesn't really say how this should work. Here's what we do (which is consistent with DR407 as far as I can tell): * When performing name lookup for an elaborated-type-specifier, a tag declaration hides a typedef declaration that names the same type. * When performing any other kind of lookup, a typedef declaration hides a tag declaration that names the same type. In any other case where lookup finds both a typedef and a tag (that is, when they name different types), the lookup will be ambiguous. If lookup finds a tag and a typedef that name the same type, and finds anything else, the lookup will always be ambiguous (even if the other entity would hide the tag, it does not also hide the typedef). llvm-svn: 252959
* N3922: direct-list-initialization of an auto-typed variable no longer deduces aRichard Smith2015-11-111-7/+15
| | | | | | | | | | | | | | | | | | | std::initializer_list<T> type. Instead, the list must contain a single element and the type is deduced from that. In Clang 3.7, we warned by default on all the cases that would change meaning due to this change. In Clang 3.8, we will support only the new rules -- per the request in N3922, this change is applied as a Defect Report against earlier versions of the C++ standard. This change is not entirely trivial, because for lambda init-captures we previously did not track the difference between direct-list-initialization and copy-list-initialization. The difference was not previously observable, because the two forms of initialization always did the same thing (the elements of the initializer list were always copy-initialized regardless of the initialization style used for the init-capture). llvm-svn: 252688
* Create install targets for scan-build and scan-viewJonathan Roelofs2015-11-091-5/+2
| | | | | | http://reviews.llvm.org/D14403 llvm-svn: 252474
* Better link for Library Fundamentals TS.Richard Smith2015-11-051-1/+1
| | | | llvm-svn: 252223
* Fix incorrect status for P0012R1.Richard Smith2015-11-051-1/+1
| | | | llvm-svn: 252216
* Fix CSS style name.Richard Smith2015-11-051-2/+2
| | | | llvm-svn: 252215
* Update C++ status page to match motions from Kona.Richard Smith2015-11-051-6/+46
| | | | llvm-svn: 252214
* Add a link to the DXR projectEhsan Akhgari2015-10-291-0/+11
| | | | | | | | DXR is a project developed at Mozilla that implements a code indexing and browsing utility on top of libclang that has features such as call graph querying. llvm-svn: 251638
* [analyzer] Update analyzer website for release of checker-277.Devin Coughlin2015-10-294-3/+33
| | | | llvm-svn: 251591
* [analyzer] Enhance FAQ with instructions on handing unused variables.Anna Zaks2015-10-271-0/+14
| | | | llvm-svn: 251448
* [analyzer] Update links to developer.apple.com.Jordan Rose2015-09-182-7/+7
| | | | | | | The content at the new links is /also/ a little dated, but that's our (Apple's) problem. llvm-svn: 247999
* Mention that libcxx is required to build Compiler-RT tests on OS X.Yury Gribov2015-09-151-0/+8
| | | | llvm-svn: 247696
* Update mailing list references to lists.llvm.orgTanya Lattner2015-08-057-17/+17
| | | | llvm-svn: 244000
* Revert r243827.Davide Italiano2015-08-011-1/+1
| | | | | | Until I figure out what's the right way of updating this file. llvm-svn: 243840
* Convertibility of nullptr_t to bool is available in clang. Note it.Davide Italiano2015-08-011-1/+1
| | | | llvm-svn: 243827
* Update cxx_dr_status.html after 3.7 branchHans Wennborg2015-07-142-13/+13
| | | | llvm-svn: 242244
OpenPOWER on IntegriCloud