r366645 - [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer'

2019-07-20 Thread Yuanfang Chen via cfe-commits
Author: yuanfang Date: Sat Jul 20 15:50:50 2019 New Revision: 366645 URL: http://llvm.org/viewvc/llvm-project?rev=366645=rev Log: [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' with '-mframe-pointer' After D56351 and D64294, frame pointer handling is migrated to

[PATCH] D65029: [Driver] Support for disabling sanitizer runtime linking

2019-07-20 Thread Petr Hosek via Phabricator via cfe-commits
phosek added a comment. In D65029#1594437 , @pcc wrote: > It's also worth asking whether `-nodefaultlibs` would work for this use case > as @filcab suggested on D64547 . It wouldn't, `-nodefaultlibs` (same as

[PATCH] D65044: [Format] Add option to enable coroutines keywords

2019-07-20 Thread Brian Gesiak via Phabricator via cfe-commits
modocache created this revision. modocache added reviewers: rsmith, sammccall, Typz, klimek. Herald added a subscriber: EricWF. Herald added a project: clang. In a previous change, https://reviews.llvm.org/D65043, I allowed users to explicitly opt-in to formatting according to the C++20 standard.

[PATCH] D65043: [Format] Add C++20 standard to style options

2019-07-20 Thread Brian Gesiak via Phabricator via cfe-commits
modocache created this revision. modocache added reviewers: rsmith, sammccall, Typz, klimek. Herald added a project: clang. When C++ coroutines were adopted as part of the C++20 standard, a change was committed in https://github.com/llvm/llvm-project/commit/10ab78e854f: coroutine keywords such as

[PATCH] D56353: Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' with '-mframe-pointer'

2019-07-20 Thread Phabricator via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL366645: [Clang] Replace cc1 options -mdisable-fp-elim and -momit-leaf-frame-pointer (authored by yuanfang, committed by

[PATCH] D64374: [analyzer] CastValueChecker: Model casts

2019-07-20 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus added a comment. I guess `getAs` and `castAs` methods could join the party too. I'm evaluating plenty of results on LLVM, and those seem to be in the same problem category. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64374/new/ https://reviews.llvm.org/D64374

[PATCH] D63082: [Diagnostics] Added support for -Wint-in-bool-context

2019-07-20 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added a comment. Ping @rsmith CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63082/new/ https://reviews.llvm.org/D63082 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D63139: [Diagnostics] Implement -Wswitch-unreachable

2019-07-20 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added a comment. Ping @rsmith CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63139/new/ https://reviews.llvm.org/D63139 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D64232: [analyzer] Prune calls to functions with linear CFGs that return a non-zero constrained value

2019-07-20 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus added a comment. LLVM+Clang (A total of 207 reports changed) | with "track-conditions" set to true (bug length)

[PATCH] D64883: Add new warning -Walloca for use of builtin alloca function

2019-07-20 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:2776 +def warn_alloca : Warning< + "use of builtin function %0">, + InGroup>, DefaultIgnore; george.burgess.iv wrote: > nit: I'd just say "use of function '%0'"

r366635 - Fix cppcheck reduce scope variable warnings. NFCI

2019-07-20 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jul 20 06:01:16 2019 New Revision: 366635 URL: http://llvm.org/viewvc/llvm-project?rev=366635=rev Log: Fix cppcheck reduce scope variable warnings. NFCI Move a couple of variables inside the block where they are actually needed. Modified:

[PATCH] D63960: [C++20] Add consteval-specifique semantic

2019-07-20 Thread Tyker via Phabricator via cfe-commits
Tyker added a comment. @rsmith ping Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63960/new/ https://reviews.llvm.org/D63960 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r366630 - [c++20] P1161R3: a[b,c] is deprecated.

2019-07-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sat Jul 20 02:32:27 2019 New Revision: 366630 URL: http://llvm.org/viewvc/llvm-project?rev=366630=rev Log: [c++20] P1161R3: a[b,c] is deprecated. Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Re: r366628 - We support P1301R4 in C++2a as of r366626.

2019-07-20 Thread Richard Smith via cfe-commits
On Sat, 20 Jul 2019 at 10:56, Aaron Ballman via cfe-commits < cfe-commits@lists.llvm.org> wrote: > On Sat, Jul 20, 2019 at 4:54 AM Richard Smith > wrote: > > > > On Sat, 20 Jul 2019 at 10:24, Aaron Ballman via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> > >> Author: aaronballman > >>

Re: r366628 - We support P1301R4 in C++2a as of r366626.

2019-07-20 Thread Aaron Ballman via cfe-commits
On Sat, Jul 20, 2019 at 4:54 AM Richard Smith wrote: > > On Sat, 20 Jul 2019 at 10:24, Aaron Ballman via cfe-commits > wrote: >> >> Author: aaronballman >> Date: Sat Jul 20 01:24:56 2019 >> New Revision: 366628 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=366628=rev >> Log: >> We support

r366629 - Mark P1301R4 in C++2a as being SVN instead.

2019-07-20 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Sat Jul 20 01:57:08 2019 New Revision: 366629 URL: http://llvm.org/viewvc/llvm-project?rev=366629=rev Log: Mark P1301R4 in C++2a as being SVN instead. Modified: cfe/trunk/www/cxx_status.html Modified: cfe/trunk/www/cxx_status.html URL:

Re: r366628 - We support P1301R4 in C++2a as of r366626.

2019-07-20 Thread Richard Smith via cfe-commits
On Sat, 20 Jul 2019 at 10:24, Aaron Ballman via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: aaronballman > Date: Sat Jul 20 01:24:56 2019 > New Revision: 366628 > > URL: http://llvm.org/viewvc/llvm-project?rev=366628=rev > Log: > We support P1301R4 in C++2a as of r366626. > >

r366628 - We support P1301R4 in C++2a as of r366626.

2019-07-20 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Sat Jul 20 01:24:56 2019 New Revision: 366628 URL: http://llvm.org/viewvc/llvm-project?rev=366628=rev Log: We support P1301R4 in C++2a as of r366626. Modified: cfe/trunk/www/cxx_status.html Modified: cfe/trunk/www/cxx_status.html URL:

r366627 - [cxx_status] Update status page for WG21 Cologne meeting motions.

2019-07-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sat Jul 20 01:20:54 2019 New Revision: 366627 URL: http://llvm.org/viewvc/llvm-project?rev=366627=rev Log: [cxx_status] Update status page for WG21 Cologne meeting motions. Note that many of the paper links will be dead until the post-meeting mailing is released. Modified:

[PATCH] D61879: WIP: Prototype of DSE optimizations for -ftrivial-auto-var-init

2019-07-20 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka updated this revision to Diff 210950. vitalybuka added a comment. fix LTO on kernel Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61879/new/ https://reviews.llvm.org/D61879 Files: clang/test/CodeGenCXX/union-tbaa2.cpp

r366626 - Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute.

2019-07-20 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Sat Jul 20 00:56:34 2019 New Revision: 366626 URL: http://llvm.org/viewvc/llvm-project?rev=366626=rev Log: Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute. This also bumps the attribute feature test value and introduces