[PATCH] D22997: [cxx1z-constexpr-lambda] Make conversion function constexpr, and teach the expression-evaluator to evaluate the static-invoker.

2016-07-30 Thread Faisal Vali via cfe-commits
faisalv created this revision. faisalv added reviewers: rsmith, hubert.reinterpretcast, aaron.ballman, erik.pilkington. faisalv added a subscriber: cfe-commits. faisalv set the repository for this revision to rL LLVM. faisalv added a project: clang-c. This patch enables the following code: au

r277287 - [NFC] Rearrange an example-file so the c++14 specific example is on top.

2016-07-30 Thread Faisal Vali via cfe-commits
Author: faisalv Date: Sat Jul 30 20:19:17 2016 New Revision: 277287 URL: http://llvm.org/viewvc/llvm-project?rev=277287&view=rev Log: [NFC] Rearrange an example-file so the c++14 specific example is on top. This makes it easier to add C++1z examples to the bottom, just before the #endif. Modifi

[PATCH] D22996: [cxx1z-constexpr-lambda] Implement constant evaluation of non-capturing lambda expressions.

2016-07-30 Thread Faisal Vali via cfe-commits
faisalv created this revision. faisalv added reviewers: rsmith, hubert.reinterpretcast, aaron.ballman, erik.pilkington. faisalv added a subscriber: cfe-commits. faisalv set the repository for this revision to rL LLVM. faisalv added a project: clang-c. Add a visitor for lambda expressions to Recor

r277286 - Reapply r276069 with workaround for MSVC 2013

2016-07-30 Thread Hubert Tong via cfe-commits
Author: hubert.reinterpretcast Date: Sat Jul 30 17:33:34 2016 New Revision: 277286 URL: http://llvm.org/viewvc/llvm-project?rev=277286&view=rev Log: Reapply r276069 with workaround for MSVC 2013 Modified: cfe/trunk/include/clang/AST/DeclTemplate.h cfe/trunk/lib/AST/ASTContext.cpp cfe/

r277277 - Correcting some sphinx formatting issues so that the attribute documentation builds again.

2016-07-30 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Sat Jul 30 15:20:03 2016 New Revision: 277277 URL: http://llvm.org/viewvc/llvm-project?rev=277277&view=rev Log: Correcting some sphinx formatting issues so that the attribute documentation builds again. Modified: cfe/trunk/include/clang/Basic/AttrDocs.td Modified:

Re: [PATCH] D22943: [Driver] Add FIXME's where we can't use effective triples (NFC)

2016-07-30 Thread Joerg Sonnenberger via cfe-commits
On Thu, Jul 28, 2016 at 10:11:05PM +, Vedant Kumar wrote: > - test/Driver/netbsd.c > > We see -mcpu=arm1022e instead of arm926ej-s in a single run. Which one exactly? Joerg ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists

Re: [PATCH] D22834: Added 'inline' attribute to basic_string's destructor

2016-07-30 Thread Joerg Sonnenberger via cfe-commits
On Tue, Jul 26, 2016 at 10:30:22PM +, Laxman Sole via cfe-commits wrote: > Currently basic_string's destructor is not getting inlined. So adding > 'inline' attribute to ~basic_string(). Does this change the ABI? Joerg ___ cfe-commits mailing list c

Re: [PATCH] D20811: [analyzer] Model some library functions

2016-07-30 Thread Artem Dergachev via cfe-commits
NoQ added a comment. > Is it really a problem if the checker comments are part of the Doxygen > documentation? Of course not :) I've been mostly thinking about the benefits of the anonymous namespace itself (cleaner global scope, no name collisions, but even these benefits are extremely minor

Re: [PATCH] D20811: [analyzer] Model some library functions

2016-07-30 Thread Alexander Droste via cfe-commits
Alexander_Droste added a comment. > It has been originally written as a large set of files. If you feel strongly > about it, we could merge it into a single file. That makes sense to me. > @Alexander_Droste, what do you think? Hi, I would still strongly prefer to keep them in separate files i

Re: [PATCH] D22090: [analyzer] Add more FileIDs to PlistDiagnostic map

2016-07-30 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. https://reviews.llvm.org/D22090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D22926: Static Analyzer - Localizability Checker: New Localizable APIs for macOS Sierra

2016-07-30 Thread Devin Coughlin via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL277273: [analyzer] Update APIs taking user-facing strings. (authored by dcoughlin). Changed prior to commit: https://reviews.llvm.org/D22926?vs=66006&id=66225#toc Repository: rL LLVM https://reviews

r277273 - [analyzer] Update APIs taking user-facing strings.

2016-07-30 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Sat Jul 30 11:16:51 2016 New Revision: 277273 URL: http://llvm.org/viewvc/llvm-project?rev=277273&view=rev Log: [analyzer] Update APIs taking user-facing strings. Add new APIs that require localized strings and remove two APIs that were incorrectly marked as requiring a us

Re: [PATCH] D22513: [clang-tidy] add check cppcoreguidelines-special-member-functions

2016-07-30 Thread Jonathan B Coe via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL277262: [clang-tidy] add check cppcoreguidelines-special-member-functions (authored by jbcoe). Changed prior to commit: https://reviews.llvm.org/D22513?vs=66161&id=66219#toc Repository: rL LLVM http

[clang-tools-extra] r277262 - [clang-tidy] add check cppcoreguidelines-special-member-functions

2016-07-30 Thread Jonathan Coe via cfe-commits
Author: jbcoe Date: Sat Jul 30 03:58:54 2016 New Revision: 277262 URL: http://llvm.org/viewvc/llvm-project?rev=277262&view=rev Log: [clang-tidy] add check cppcoreguidelines-special-member-functions Summary: Check for classes that violate the rule of five and zero as specified in CppCoreGuideline