summaryrefslogtreecommitdiffstats
path: root/clang/www
Commit message (Collapse)AuthorAgeFilesLines
* Merging r338942:Hans Wennborg2018-08-063-12/+15
| | | | | | | | | | ------------------------------------------------------------------------ r338942 | rsmith | 2018-08-04 03:02:00 +0200 (Sat, 04 Aug 2018) | 1 line [www] Update cxx_status and cxx_dr_status now that Clang 7 has branched. ------------------------------------------------------------------------ llvm-svn: 339002
* [WWW] Fixing file permissions for the .html pages.Mike Edwards2018-07-2716-0/+0
| | | | llvm-svn: 338098
* [WWW] Removing my test file as the auto-deployment script has been fixed.Mike Edwards2018-07-261-6/+0
| | | | llvm-svn: 338087
* [WWW] Adding a test page to work out an auto-deployment issue.Mike Edwards2018-07-261-0/+6
| | | | llvm-svn: 338086
* [www] Add CodeCompass and CodeChecker to Clang Related Projects pageBruno Cardoso Lopes2018-07-201-0/+22
| | | | llvm-svn: 337555
* Restructure checking for, and warning on, lifetime extension.Richard Smith2018-07-171-2/+2
| | | | | | | | | | | | | This change implements C++ DR1696, which makes initialization of a reference member of a class from a temporary object ill-formed. The standard wording here is imprecise, but we interpret it as meaning that any time a mem-initializer would result in lifetime extension, the program is ill-formed. This reinstates r337226, reverted in r337255, with a fix for the InitializedEntity alignment problem that was breaking ARM buildbots. llvm-svn: 337329
* Temporarily revert r337226 "Restructure checking for, and warning on, ↵Florian Hahn2018-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | lifetime extension." This change breaks on ARM because pointers to clang::InitializedEntity are only 4 byte aligned and do not have 3 bits to store values. A possible solution would be to change the fields in clang::InitializedEntity to enforce a bigger alignment requirement. The error message is llvm/include/llvm/ADT/PointerIntPair.h:132:3: error: static_assert failed "PointerIntPair with integer size too large for pointer" static_assert(IntBits <= PtrTraits::NumLowBitsAvailable, include/llvm/ADT/PointerIntPair.h:73:13: note: in instantiation of template class 'llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> >' requested here Value = Info::updateInt(Info::updatePointer(0, PtrVal), llvm/include/llvm/ADT/PointerIntPair.h:51:5: note: in instantiation of member function 'llvm::PointerIntPair<const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *>, llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> > >::setPointerAndInt' requested here setPointerAndInt(PtrVal, IntVal); ^ llvm/tools/clang/lib/Sema/SemaInit.cpp:6237:12: note: in instantiation of member function 'llvm::PointerIntPair<const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *>, llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> > >::PointerIntPair' requested here return {Entity, LK_Extended}; Full log here: http://lab.llvm.org:8011/builders/clang-cmake-armv7-global-isel/builds/1330 http://lab.llvm.org:8011/builders/clang-cmake-armv7-full/builds/1394 llvm-svn: 337255
* Restructure checking for, and warning on, lifetime extension.Richard Smith2018-07-171-2/+2
| | | | | | | | | | This change implements C++ DR1696, which makes initialization of a reference member of a class from a temporary object ill-formed. The standard wording here is imprecise, but we interpret it as meaning that any time a mem-initializer would result in lifetime extension, the program is ill-formed. llvm-svn: 337226
* DR330: look through array types when forming the cv-decomposition of a type.Richard Smith2018-07-111-1/+1
| | | | | | | | | | This allows more qualification conversions, eg. conversion from 'int *(*)[]' -> 'const int *const (*)[]' is now permitted, along with all the consequences of that: more types are similar, more cases are permitted by const_cast, and conversely, fewer "casting away constness" cases are permitted by reinterpret_cast. llvm-svn: 336745
* [www] Update cxx_dr_status for recent DR fixes.Richard Smith2018-06-271-4/+4
| | | | llvm-svn: 335782
* P0096R5, P0941R2: Update to match latest feature test macro specification.Richard Smith2018-06-141-10/+15
| | | | llvm-svn: 334677
* [www] Update cxx_status page for Rapperswil motions.Richard Smith2018-06-141-4/+47
| | | | llvm-svn: 334674
* [www] Update C++ status to cover P0620.Richard Smith2018-05-301-7/+12
| | | | | | While here, mark three-way comparison as in progress and bump "Clang 6" items from yellow to green. llvm-svn: 333606
* [analyzer] Add security checks for bcmp(), bcopy(), bzero().Artem Dergachev2018-05-261-0/+34
| | | | | | | | | | | These functions are obsolete. The analyzer would advice to replace them with memcmp(), memcpy() or memmove(), or memset(). Patch by Tom Rix! Differential Revision: https://reviews.llvm.org/D41881 llvm-svn: 333326
* Fix typos in clangAlexander Kornienko2018-04-066-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
* DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standardRichard Smith2018-04-052-6/+9
| | | | | | | | | | | | | | | | | layout" rules. The new rules say that a standard-layout struct has its first non-static data member and all base classes at offset 0, and consider a class to not be standard-layout if that would result in multiple subobjects of a single type having the same address. We track "is C++11 standard-layout class" separately from "is standard-layout class" so that the ABIs that need this information can still use it. Differential Revision: https://reviews.llvm.org/D45176 llvm-svn: 329332
* Remove reference to stale (2009) python version.Yaron Keren2018-03-251-1/+1
| | | | llvm-svn: 328447
* [cxx_status] Add entry for the Reflection TS.Richard Smith2018-03-171-2/+0
| | | | llvm-svn: 327770
* [cxx_status] Update to match Jacksonville 2018 motions.Richard Smith2018-03-171-50/+97
| | | | | | | | Also rearrange how we list DR motions: rather than listing them as part of some later standard, list them against the feature they are a DR against. Explicitly add a description of how we handle DRs. llvm-svn: 327769
* Implement C++ DR727, which permits explicit specializations at class scope.Richard Smith2018-03-161-3/+3
| | | | | | | | | More generally, this permits a template to be specialized in any scope in which it could be defined, so this also supersedes DR44 and DR374 (the latter of which we previously only implemented in C++11 mode onwards due to unclarity as to whether it was a DR). llvm-svn: 327705
* Update DR script to mark Clang 6 as 'done' not 'svn'.Richard Smith2018-03-141-3/+0
| | | | llvm-svn: 327546
* [www] Update C++ DR status to match latest issues list.Richard Smith2018-03-141-309/+783
| | | | llvm-svn: 327545
* [www] Capitalize "Clang" when referring to the project, and generalize theRichard Smith2018-03-012-22/+24
| | | | | | | | introduction on the front page page. We still use the lowercase "clang" spelling when referring to the driver binary. llvm-svn: 326493
* Update cxx_status to mark "SVN" items as "Clang 6" instead.Richard Smith2018-02-282-6/+9
| | | | llvm-svn: 326298
* [www] Update link to analyzer's "Building a Checker in 24 hours" videoDevin Coughlin2018-02-263-4/+4
| | | | | | The video is now uploaded to YouTube. llvm-svn: 326062
* [cxx_dr_status] Tests for CWG issues 641-687.Richard Smith2018-02-191-37/+37
| | | | llvm-svn: 325475
* Fix typo. NFCJonathan Roelofs2018-01-311-1/+1
| | | | llvm-svn: 323864
* [scan-build] Add an option to skip overriding CC and CXX make varsJonathan Roelofs2018-01-291-1/+1
| | | | | | | | | | | | | | Autoconf and some other systems tend to add essential compilation options to CC (e.g. -std=gnu99). When running such an auto-generated makefile, scan-build does not need to change CC and CXX as they are already set to use ccc-analyzer by a configure script. Implement a new option --keep-cc as was proposed in this discussion: http://lists.llvm.org/pipermail/cfe-dev/2013-September/031832.html Patch by Paul Fertser! llvm-svn: 323665
* [NFC] fix trivial typos in commentsHiroshi Inoue2018-01-221-1/+1
| | | | | | "the the" -> "the" llvm-svn: 323078
* DR126: partially implement the const-correct rules for exception handler ↵Richard Smith2018-01-131-6/+6
| | | | | | | | | matching. While here, fix up the myriad other ways in which Sema's two "can this handler catch that exception?" implementations get things wrong and unify them. llvm-svn: 322431
* Fix more inconsistent line endings. NFC.Dimitry Andric2017-12-181-4/+4
| | | | llvm-svn: 321016
* Update website to mention that you still need ↵Richard Smith2017-11-301-1/+2
| | | | | | -frelaxed-template-template-args to enable the corresponding C++17 feature in Clang 5. llvm-svn: 319495
* Update link to the Chromium Clang pageHans Wennborg2017-11-131-3/+3
| | | | llvm-svn: 318108
* [cxx_status] Add resolution of CWG issue 1581, since it's an important, ↵Richard Smith2017-11-111-1/+12
| | | | | | visible change. llvm-svn: 317983
* [cxx_status] Update for moved Albuquerque papers.Richard Smith2017-11-111-3/+47
| | | | llvm-svn: 317982
* [c++2a] Update cxx_status w __VA_OPT__ marked as completed in SVN.Faisal Vali2017-10-221-1/+1
| | | | llvm-svn: 316304
* Typos in tutorialJan Korous2017-10-131-2/+2
| | | | llvm-svn: 315652
* [Analyzer] Document a gotcha: for C++ -analyze-function requires parameters ↵George Karpenkov2017-09-301-2/+12
| | | | | | | | in function name Differential Revision: https://reviews.llvm.org/D37596 llvm-svn: 314573
* set the svn:executable property, seems that it is necessary for apache ↵Sylvestre Ledru2017-09-101-0/+0
| | | | | | (discussed with Tanya by email) llvm-svn: 312877
* [cxx_status] Change "Clang 5" items from yellow to green now that Clang 5 ↵Richard Smith2017-09-093-17/+14
| | | | | | has been released. llvm-svn: 312850
* P0702R1: in class template argument deduction from a list of one element, ifRichard Smith2017-09-071-1/+7
| | | | | | | that element's type is (or is derived from) a specialization of the deduced template, skip the std::initializer_list special case. llvm-svn: 312703
* [cxx_status] Update to describe current status a bit better.Richard Smith2017-08-301-4/+5
| | | | llvm-svn: 312191
* [c++2a] P0683R1: Permit default member initializers for bit-fields.Richard Smith2017-08-281-1/+1
| | | | | | | This would be trivial, except that our in-memory and serialized representations for FieldDecls assumed that this can't happen. llvm-svn: 311867
* Remove the old meeting links. Also available from the link: ↵Sylvestre Ledru2017-08-251-3/+1
| | | | | | http://llvm.org/devmtg/ llvm-svn: 311767
* clang also supports C++14 & 17 + remove trailing whitespacesSylvestre Ledru2017-08-251-22/+22
| | | | llvm-svn: 311766
* [c++2a] P0704R1: Allow pointers to const& member functions to be called on ↵Richard Smith2017-08-251-1/+1
| | | | | | | | rvalues. Patch by Blitz Rakete! llvm-svn: 311744
* [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood)Faisal Vali2017-08-191-4/+3
| | | | | | | | | | This patch, by hamzasood, implements P0409R2, and allows [=, this] pre-C++2a as an extension (with appropriate warnings) for consistency. https://reviews.llvm.org/D36572 Thanks Hamza! llvm-svn: 311224
* Implement latest feature test macro recommendations, P0096R4.Richard Smith2017-08-111-3/+8
| | | | llvm-svn: 310694
* Update cxx_status to mention the upcoming Clang 5 release.Richard Smith2017-08-111-4/+4
| | | | llvm-svn: 310693
* PR33850: Update cxx_dr_status for Clang 5 branch.Richard Smith2017-08-112-28/+28
| | | | llvm-svn: 310692
OpenPOWER on IntegriCloud