Re: [PATCH] D20457: Update -ffast-math documentation to match reality.

2016-05-20 Thread Justin Lebar via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL270279: Update -ffast-math documentation to match reality. (authored by jlebar). Changed prior to commit: http://reviews.llvm.org/D20457?vs=57958&id=57995#toc Repository: rL LLVM http://reviews.llvm

r270279 - Update -ffast-math documentation to match reality.

2016-05-20 Thread Justin Lebar via cfe-commits
Author: jlebar Date: Fri May 20 16:33:01 2016 New Revision: 270279 URL: http://llvm.org/viewvc/llvm-project?rev=270279&view=rev Log: Update -ffast-math documentation to match reality. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20457 Modified:

Re: [PATCH] D20457: Update -ffast-math documentation to match reality.

2016-05-20 Thread Justin Lebar via cfe-commits
jlebar added a comment. Thank you for the review! http://reviews.llvm.org/D20457 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20457: Update -ffast-math documentation to match reality.

2016-05-20 Thread Justin Lebar via cfe-commits
jlebar marked 2 inline comments as done. jlebar added a comment. Repository: rL LLVM http://reviews.llvm.org/D20457 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20492: Clang support for __is_assignable intrinsic

2016-05-20 Thread Dave Bartolomeo via cfe-commits
DaveBartolomeo updated this revision to Diff 58014. DaveBartolomeo added a comment. Removed unnecessary braces. Moved BTT_IsAssignable case to a more clear location. http://reviews.llvm.org/D20492 Files: docs/LanguageExtensions.rst include/clang/Basic/TokenKinds.def include/clang/Basic/Ty

[PATCH] D20498: [Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr

2016-05-20 Thread Tim Shen via cfe-commits
timshen created this revision. timshen added a reviewer: rsmith. timshen added a subscriber: cfe-commits. Herald added a subscriber: klimek. These ExprWithCleanups are added for holding a RunCleanupsScope not for destructor calls; rather, they are for lifetime marks. This requires ExprWithCleanups

[PATCH] D20499: [Temporary, Lifetime] Add lifetime marks for temporaries

2016-05-20 Thread Tim Shen via cfe-commits
timshen created this revision. timshen added a reviewer: rsmith. timshen added a subscriber: cfe-commits. With all MaterializeTemporaryExprs coming with a ExprWithCleanups, it's easy to add correct lifetime.end marks into the right RunCleanupsScope. http://reviews.llvm.org/D20499 Files: lib/Co

Re: [PATCH] D19930: [Lifetime] Add lifetime markers for C++ lifetime-extended temporaries

2016-05-20 Thread Tim Shen via cfe-commits
timshen abandoned this revision. timshen added a comment. Abandon this change, since http://reviews.llvm.org/D20498 and http://reviews.llvm.org/D20499 handle all temporaries. http://reviews.llvm.org/D19930 ___ cfe-commits mailing list cfe-commits@l

[PATCH] D20500: [ms] Allow more unqualified lookup of types in dependent base classes

2016-05-20 Thread Reid Kleckner via cfe-commits
rnk created this revision. rnk added reviewers: avt77, rsmith. rnk added a subscriber: cfe-commits. In dependent contexts where we know a type name is required, such as a new expression, we can recover by forming a DependentNameType. Works towards parsing atlctrlw.h, which is PR26748. http://rev

Re: [PATCH] D19479: 26748 - clang-cl fails to compile atlctrlw.h header from WTL

2016-05-20 Thread Reid Kleckner via cfe-commits
rnk added a comment. In http://reviews.llvm.org/D19479#435620, @rnk wrote: > To deal with the specific case in ATL, we can use the 'new' expression as a > hint that the unknown identifier is actually a dependent type. There should > be some bit of context we can look at in DiagnoseUnknownTypeNa

[clang-tools-extra] r270288 - Fix docs

2016-05-20 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Fri May 20 17:42:03 2016 New Revision: 270288 URL: http://llvm.org/viewvc/llvm-project?rev=270288&view=rev Log: Fix docs Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-

Re: [PATCH] D20498: [Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr

2016-05-20 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: include/clang/AST/ExprCXX.h:2871-2872 @@ -2870,1 +2870,4 @@ + // When false, it must not have side effects. + bool CleanupsHaveSideEffects; + You may as well put this in the bitfield storage on `Stmt`. ===

Re: [PATCH] D20498: [Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr

2016-05-20 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: lib/Sema/SemaExprCXX.cpp:5636-5639 @@ -5634,4 +5635,6 @@ - Expr *E = ExprWithCleanups::Create(Context, SubExpr, Cleanups); + auto *E = ExprWithCleanups::Create(Context, SubExpr, Cleanups); + if (Cleanup.cleanupsHaveSideEffects()) +

Re: [PATCH] D20500: [ms] Allow more unqualified lookup of types in dependent base classes

2016-05-20 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: lib/Parse/ParseDecl.cpp:2282 @@ -2281,3 +2281,3 @@ // Otherwise, if we don't consume this token, we are going to emit an // error anyway. Try to recover from various common problems. Check Maybe put the check her

Re: [PATCH] D20492: Clang support for __is_assignable intrinsic

2016-05-20 Thread Eric Fiselier via cfe-commits
EricWF added a subscriber: EricWF. EricWF added a comment. Should this have a test in `test/Lexer/has_feature_type_traits.cpp`? http://reviews.llvm.org/D20492 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mail

<    1   2