[clang] b76219b - [clang][Sema] Use correct array size for diagnostic

2022-10-20 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-10-20T11:56:49-07:00 New Revision: b76219b590208c1b539e614247f91481900bd7a1 URL: https://github.com/llvm/llvm-project/commit/b76219b590208c1b539e614247f91481900bd7a1 DIFF: https://github.com/llvm/llvm-project/commit/b76219b590208c1b539e614247f91481900bd7a1.diff

[clang] 91b3823 - [clang][Sema] Use size of char in bits for void types

2022-10-14 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-10-14T14:46:19-07:00 New Revision: 91b3823bd000b1a6ffde96a6363098f59307317a URL: https://github.com/llvm/llvm-project/commit/91b3823bd000b1a6ffde96a6363098f59307317a DIFF: https://github.com/llvm/llvm-project/commit/91b3823bd000b1a6ffde96a6363098f59307317a.diff

[clang] 8c7b346 - [clang] Update ASM goto documentation to reflect how Clang differs from GCC

2022-10-13 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-10-13T12:05:40-07:00 New Revision: 8c7b3461a5346a66088d884500c2b3c2829b4652 URL: https://github.com/llvm/llvm-project/commit/8c7b3461a5346a66088d884500c2b3c2829b4652 DIFF: https://github.com/llvm/llvm-project/commit/8c7b3461a5346a66088d884500c2b3c2829b4652.diff

[clang] c131883 - [clang][NFC] Remove extraneous normalized value

2022-10-06 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-10-06T11:01:25-07:00 New Revision: c131883146c2efdef5c6ee17d624f8cada277d9d URL: https://github.com/llvm/llvm-project/commit/c131883146c2efdef5c6ee17d624f8cada277d9d DIFF: https://github.com/llvm/llvm-project/commit/c131883146c2efdef5c6ee17d624f8cada277d9d.diff

[clang] 7404b85 - [clang][NFC] Use enum for -fstrict-flex-arrays

2022-10-06 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-10-06T10:45:41-07:00 New Revision: 7404b855e528f88bf2a395a0a14937ca6812e8d1 URL: https://github.com/llvm/llvm-project/commit/7404b855e528f88bf2a395a0a14937ca6812e8d1 DIFF: https://github.com/llvm/llvm-project/commit/7404b855e528f88bf2a395a0a14937ca6812e8d1.diff

[clang] 6e00a34 - [AArch64] Add support for -fzero-call-used-regs

2022-05-19 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-05-19T16:58:28-07:00 New Revision: 6e00a34cdb49ba1d4b72ec274e52260da9c52380 URL: https://github.com/llvm/llvm-project/commit/6e00a34cdb49ba1d4b72ec274e52260da9c52380 DIFF: https://github.com/llvm/llvm-project/commit/6e00a34cdb49ba1d4b72ec274e52260da9c52380.diff

[clang] f2639cf - [randstruct] Move initializer check to be more effective

2022-05-03 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-05-03T11:23:12-07:00 New Revision: f2639cf3fe46c30ad450cc2533c81eacd4788c33 URL: https://github.com/llvm/llvm-project/commit/f2639cf3fe46c30ad450cc2533c81eacd4788c33 DIFF: https://github.com/llvm/llvm-project/commit/f2639cf3fe46c30ad450cc2533c81eacd4788c33.diff

[clang] 6f79700 - [randstruct] Automatically randomize a structure of function pointers

2022-04-29 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-29T11:05:09-07:00 New Revision: 6f79700830292d86afec5f3cf5143b00e6f3f1fd URL: https://github.com/llvm/llvm-project/commit/6f79700830292d86afec5f3cf5143b00e6f3f1fd DIFF: https://github.com/llvm/llvm-project/commit/6f79700830292d86afec5f3cf5143b00e6f3f1fd.diff

[clang] 463790b - [randstruct] Randomize all elements of a record

2022-04-28 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-28T12:01:11-07:00 New Revision: 463790bfc70e15f9c23b76f1c53e228b644f8bb1 URL: https://github.com/llvm/llvm-project/commit/463790bfc70e15f9c23b76f1c53e228b644f8bb1 DIFF: https://github.com/llvm/llvm-project/commit/463790bfc70e15f9c23b76f1c53e228b644f8bb1.diff

Re: [PATCH] D124199: [randstruct] Check final randomized layout ordering

2022-04-22 Thread Bill Wendling via cfe-commits
Maskray? On Thu, Apr 21, 2022 at 8:00 PM Nico Weber via Phabricator < revi...@reviews.llvm.org> wrote: > thakis added a comment. > > Looks like this breaks tests on windows: > http://45.33.8.238/win/56771/step_7.txt > > Please take a look and revert for now if it takes a while to fix. > > >

[clang] a7815d3 - [randstruct] Check final randomized layout ordering

2022-04-21 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-21T19:41:00-07:00 New Revision: a7815d33bf8f955f2a1888abbccf974bd4858f79 URL: https://github.com/llvm/llvm-project/commit/a7815d33bf8f955f2a1888abbccf974bd4858f79 DIFF: https://github.com/llvm/llvm-project/commit/a7815d33bf8f955f2a1888abbccf974bd4858f79.diff

[clang] 7f31b4a - [randstruct] Enforce using a designated init for a randomized struct

2022-04-17 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-16T23:24:48-07:00 New Revision: 7f31b4a917d8cc13df5eac4b7f0520639c3a8fff URL: https://github.com/llvm/llvm-project/commit/7f31b4a917d8cc13df5eac4b7f0520639c3a8fff DIFF: https://github.com/llvm/llvm-project/commit/7f31b4a917d8cc13df5eac4b7f0520639c3a8fff.diff

[clang] 2a404cd - [randstruct] Force errors for all platforms

2022-04-15 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-15T15:17:07-07:00 New Revision: 2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c URL: https://github.com/llvm/llvm-project/commit/2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c DIFF: https://github.com/llvm/llvm-project/commit/2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c.diff

[clang] aed923b - [randstruct] Enforce using a designated init for a randomized struct

2022-04-15 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-15T12:29:32-07:00 New Revision: aed923b1246ac38335b222b89594516fcf0d6385 URL: https://github.com/llvm/llvm-project/commit/aed923b1246ac38335b222b89594516fcf0d6385 DIFF: https://github.com/llvm/llvm-project/commit/aed923b1246ac38335b222b89594516fcf0d6385.diff

[clang] 8c77a75 - [randstruct] Add test for "-frandomize-layout-seed-file" flag

2022-04-14 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-14T16:35:41-07:00 New Revision: 8c77a75fb6a82a4cc2182bca89e007e7190a83de URL: https://github.com/llvm/llvm-project/commit/8c77a75fb6a82a4cc2182bca89e007e7190a83de DIFF: https://github.com/llvm/llvm-project/commit/8c77a75fb6a82a4cc2182bca89e007e7190a83de.diff

[clang] 27dead3 - Revert "[randstruct] Add test for "-frandomize-layout-seed-file" flag"

2022-04-14 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-14T16:07:00-07:00 New Revision: 27dead3e3a532625704654a0b66d77f8654d1af2 URL: https://github.com/llvm/llvm-project/commit/27dead3e3a532625704654a0b66d77f8654d1af2 DIFF: https://github.com/llvm/llvm-project/commit/27dead3e3a532625704654a0b66d77f8654d1af2.diff

[clang] 31ea479 - [randstruct] Add test for "-frandomize-layout-seed-file" flag

2022-04-14 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-14T15:41:25-07:00 New Revision: 31ea4798ad0990838ccd27f80ca112f177ce91d9 URL: https://github.com/llvm/llvm-project/commit/31ea4798ad0990838ccd27f80ca112f177ce91d9 DIFF: https://github.com/llvm/llvm-project/commit/31ea4798ad0990838ccd27f80ca112f177ce91d9.diff

[clang] 77e71bc - [randstruct] NFC change to use static

2022-04-09 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-09T13:25:25-07:00 New Revision: 77e71bcfde7264466849babaa0e9ccbec51a8a08 URL: https://github.com/llvm/llvm-project/commit/77e71bcfde7264466849babaa0e9ccbec51a8a08 DIFF: https://github.com/llvm/llvm-project/commit/77e71bcfde7264466849babaa0e9ccbec51a8a08.diff

[clang] 7aa8c38 - [randstruct] Add randomize structure layout support

2022-04-09 Thread Bill Wendling via cfe-commits
Author: Connor Kuehl Date: 2022-04-09T13:15:36-07:00 New Revision: 7aa8c38a9e190aea14116028c38b1d9f54cbb0b3 URL: https://github.com/llvm/llvm-project/commit/7aa8c38a9e190aea14116028c38b1d9f54cbb0b3 DIFF: https://github.com/llvm/llvm-project/commit/7aa8c38a9e190aea14116028c38b1d9f54cbb0b3.diff

[clang] 2a2149c - [randstruct] Remove RandstructTest.cpp from list

2022-04-08 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-08T17:41:36-07:00 New Revision: 2a2149c754f96376ddf8fed248102dd8e6092a22 URL: https://github.com/llvm/llvm-project/commit/2a2149c754f96376ddf8fed248102dd8e6092a22 DIFF: https://github.com/llvm/llvm-project/commit/2a2149c754f96376ddf8fed248102dd8e6092a22.diff

[clang] 8d7595b - [randstruct] temporarily remove test that's failing

2022-04-08 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-08T17:04:22-07:00 New Revision: 8d7595be1dd41d7f7470ec90867936ca5e4e0d82 URL: https://github.com/llvm/llvm-project/commit/8d7595be1dd41d7f7470ec90867936ca5e4e0d82 DIFF: https://github.com/llvm/llvm-project/commit/8d7595be1dd41d7f7470ec90867936ca5e4e0d82.diff

[clang] e2e6899 - [randstruct] disable test for Windows for now.

2022-04-08 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-08T16:00:41-07:00 New Revision: e2e6899452998932b37f0fa9e66d104a02abe3e5 URL: https://github.com/llvm/llvm-project/commit/e2e6899452998932b37f0fa9e66d104a02abe3e5 DIFF: https://github.com/llvm/llvm-project/commit/e2e6899452998932b37f0fa9e66d104a02abe3e5.diff

[clang] 893e1c1 - [randstruct] add expected output for WIN64

2022-04-08 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-04-08T14:42:12-07:00 New Revision: 893e1c18b98d8bbc7b8d7d22cc2c348f65c72ad9 URL: https://github.com/llvm/llvm-project/commit/893e1c18b98d8bbc7b8d7d22cc2c348f65c72ad9 DIFF: https://github.com/llvm/llvm-project/commit/893e1c18b98d8bbc7b8d7d22cc2c348f65c72ad9.diff

[clang] 3f0587d - [randstruct] Add randomize structure layout support

2022-04-08 Thread Bill Wendling via cfe-commits
Author: Connor Kuehl Date: 2022-04-08T12:48:30-07:00 New Revision: 3f0587d0c668202bb89d29a25432aa290e551a31 URL: https://github.com/llvm/llvm-project/commit/3f0587d0c668202bb89d29a25432aa290e551a31 DIFF: https://github.com/llvm/llvm-project/commit/3f0587d0c668202bb89d29a25432aa290e551a31.diff

[clang] 86bde99 - Insert a blurb about the -fzero-call-used-regs feature

2022-02-15 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-02-15T00:06:58-08:00 New Revision: 86bde99a9027f875383e38bfd3a863abae3d0e75 URL: https://github.com/llvm/llvm-project/commit/86bde99a9027f875383e38bfd3a863abae3d0e75 DIFF: https://github.com/llvm/llvm-project/commit/86bde99a9027f875383e38bfd3a863abae3d0e75.diff

[clang] deaf22b - [X86] Implement -fzero-call-used-regs option

2022-02-08 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2022-02-08T17:42:54-08:00 New Revision: deaf22bc0e306bc44c70d2503e9364b5ed312c49 URL: https://github.com/llvm/llvm-project/commit/deaf22bc0e306bc44c70d2503e9364b5ed312c49 DIFF: https://github.com/llvm/llvm-project/commit/deaf22bc0e306bc44c70d2503e9364b5ed312c49.diff

[clang] c4582a6 - [Analysis] Ignore casts and unary ops for uninitialized values

2021-12-07 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2021-12-07T11:49:18-08:00 New Revision: c4582a689c2c74e0635309979176c7ada086f066 URL: https://github.com/llvm/llvm-project/commit/c4582a689c2c74e0635309979176c7ada086f066 DIFF: https://github.com/llvm/llvm-project/commit/c4582a689c2c74e0635309979176c7ada086f066.diff

[clang] c9b53b3 - Fix regex in test.

2020-09-24 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-09-24T15:21:28-07:00 New Revision: c9b53b3bf20d20d5752876be32a9e5887c702e53 URL: https://github.com/llvm/llvm-project/commit/c9b53b3bf20d20d5752876be32a9e5887c702e53 DIFF: https://github.com/llvm/llvm-project/commit/c9b53b3bf20d20d5752876be32a9e5887c702e53.diff

[clang] f97b68e - Fix testcase.

2020-09-24 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-09-24T14:34:28-07:00 New Revision: f97b68ef4ddd28a685e502653768c2a34c314cba URL: https://github.com/llvm/llvm-project/commit/f97b68ef4ddd28a685e502653768c2a34c314cba DIFF: https://github.com/llvm/llvm-project/commit/f97b68ef4ddd28a685e502653768c2a34c314cba.diff

[clang] 34ca5b3 - Remove stale assert.

2020-09-24 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-09-24T13:59:42-07:00 New Revision: 34ca5b3392ced08e2320fb4236cca5c7df4ec6e9 URL: https://github.com/llvm/llvm-project/commit/34ca5b3392ced08e2320fb4236cca5c7df4ec6e9 DIFF: https://github.com/llvm/llvm-project/commit/34ca5b3392ced08e2320fb4236cca5c7df4ec6e9.diff

[clang] 218dd33 - Add triple for non-x86 environments.

2020-03-10 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-03-10T15:26:03-07:00 New Revision: 218dd339541f574f76d7310f6c3269bfe3262d08 URL: https://github.com/llvm/llvm-project/commit/218dd339541f574f76d7310f6c3269bfe3262d08 DIFF: https://github.com/llvm/llvm-project/commit/218dd339541f574f76d7310f6c3269bfe3262d08.diff

[clang] 72aa619 - Warn of uninitialized variables on asm goto's indirect branch

2020-03-10 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-03-10T13:48:48-07:00 New Revision: 72aa619a7fe0e2f90959b0614f6388c09aba8913 URL: https://github.com/llvm/llvm-project/commit/72aa619a7fe0e2f90959b0614f6388c09aba8913 DIFF: https://github.com/llvm/llvm-project/commit/72aa619a7fe0e2f90959b0614f6388c09aba8913.diff

Re: [PATCH] D69876: Support output constraints on "asm goto"

2020-02-25 Thread Bill Wendling via cfe-commits
I had to re-do the patch. It works for me now...Sorry about the failure! On Tue, Feb 25, 2020 at 12:10 PM Leonard Chan via Phabricator < revi...@reviews.llvm.org> wrote: > leonardchan added a comment. > > Woops, sorry. Didn't see you sent out >

[clang] 6d0d1a6 - Use "nop" to avoid size warnings.

2020-02-25 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-02-25T12:31:53-08:00 New Revision: 6d0d1a63f2a6c120f206a83e7c1ddae9fa5a569a URL: https://github.com/llvm/llvm-project/commit/6d0d1a63f2a6c120f206a83e7c1ddae9fa5a569a DIFF: https://github.com/llvm/llvm-project/commit/6d0d1a63f2a6c120f206a83e7c1ddae9fa5a569a.diff

Re: [PATCH] D69876: Support output constraints on "asm goto"

2020-02-25 Thread Bill Wendling via cfe-commits
Hi Vlad, I just submitted a fix for this: e11f9fb4508534d31b09d2ba6cd22428ccc75f65 On Tue, Feb 25, 2020 at 11:42 AM Vlad Vereschaka via Phabricator < revi...@reviews.llvm.org> wrote: > vvereschaka added a comment. > > Hello @void , > > this commit breaks Aarch64 builder with failed >

[clang] e11f9fb - Add 'l' constraint to goto label reference

2020-02-25 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-02-25T11:48:23-08:00 New Revision: e11f9fb4508534d31b09d2ba6cd22428ccc75f65 URL: https://github.com/llvm/llvm-project/commit/e11f9fb4508534d31b09d2ba6cd22428ccc75f65 DIFF: https://github.com/llvm/llvm-project/commit/e11f9fb4508534d31b09d2ba6cd22428ccc75f65.diff

Re: [PATCH] D69876: Support output constraints on "asm goto"

2020-02-25 Thread Bill Wendling via cfe-commits
Okay. I'll take a look at it. Sorry about the failure. On Tue, Feb 25, 2020 at 1:37 AM Yvan Roux wrote: > Hi Bill, > > This commit broke AArch64 bots, logs are available here: > >

[clang] 50cac24 - Support output constraints on "asm goto"

2020-02-24 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2020-02-24T18:51:29-08:00 New Revision: 50cac248773c3a023e8f6ceb9938bdd5e9f15da2 URL: https://github.com/llvm/llvm-project/commit/50cac248773c3a023e8f6ceb9938bdd5e9f15da2 DIFF: https://github.com/llvm/llvm-project/commit/50cac248773c3a023e8f6ceb9938bdd5e9f15da2.diff

Re: [PATCH] D69876: Allow output constraints on "asm goto"

2020-01-07 Thread Bill Wendling via cfe-commits
Yeah. I reverted the push. The correct code should be in Phabricator now. :-( On Tue, Jan 7, 2020 at 2:45 PM James Y Knight via Phabricator < revi...@reviews.llvm.org> wrote: > jyknight added a comment. > > I think you pushed the incorrect change? This was the clang half, but now > it's showing

[clang-tools-extra] 936de1c - Remove extraneous semicolon.

2019-12-02 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2019-12-02T14:09:21-08:00 New Revision: 936de1c5bc2dfbec25318985cddb7345d989a7ee URL: https://github.com/llvm/llvm-project/commit/936de1c5bc2dfbec25318985cddb7345d989a7ee DIFF: https://github.com/llvm/llvm-project/commit/936de1c5bc2dfbec25318985cddb7345d989a7ee.diff

[clang] 2b79563 - Fix typo to separate "-x" from warning flag.

2019-11-22 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2019-11-22T12:51:41-08:00 New Revision: 2b795637b9024d76e53cd303ad74ac02ba22da5b URL: https://github.com/llvm/llvm-project/commit/2b795637b9024d76e53cd303ad74ac02ba22da5b DIFF: https://github.com/llvm/llvm-project/commit/2b795637b9024d76e53cd303ad74ac02ba22da5b.diff

[clang] 9180f8a - Don't report "main" as missing a prototype in freestanding mode

2019-11-22 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2019-11-22T12:35:43-08:00 New Revision: 9180f8a57436da0ce91d9d4885702a10f89571bc URL: https://github.com/llvm/llvm-project/commit/9180f8a57436da0ce91d9d4885702a10f89571bc DIFF: https://github.com/llvm/llvm-project/commit/9180f8a57436da0ce91d9d4885702a10f89571bc.diff

[clang] ee10d93 - Fix typo so that '-O0' is correctly specified

2019-11-05 Thread Bill Wendling via cfe-commits
Author: Bill Wendling Date: 2019-11-05T13:15:55-08:00 New Revision: ee10d93449eccfd3b6e6ae8f02551b1a03a4 URL: https://github.com/llvm/llvm-project/commit/ee10d93449eccfd3b6e6ae8f02551b1a03a4 DIFF: https://github.com/llvm/llvm-project/commit/ee10d93449eccfd3b6e6ae8f02551b1a03a4.diff

r368202 - Add target requirements for those bots which don't handle x86.

2019-08-07 Thread Bill Wendling via cfe-commits
Author: void Date: Wed Aug 7 12:36:48 2019 New Revision: 368202 URL: http://llvm.org/viewvc/llvm-project?rev=368202=rev Log: Add target requirements for those bots which don't handle x86. Modified: cfe/trunk/test/CodeGen/pr41027.c Modified: cfe/trunk/test/CodeGen/pr41027.c URL:

r368104 - Delay diagnosing asm constraints that require immediates until after inlining

2019-08-06 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Aug 6 15:41:22 2019 New Revision: 368104 URL: http://llvm.org/viewvc/llvm-project?rev=368104=rev Log: Delay diagnosing asm constraints that require immediates until after inlining Summary: An inline asm call may result in an immediate input value after inlining.

r365395 - Add parentheses to silence warnings.

2019-07-08 Thread Bill Wendling via cfe-commits
Author: void Date: Mon Jul 8 15:01:07 2019 New Revision: 365395 URL: http://llvm.org/viewvc/llvm-project?rev=365395=rev Log: Add parentheses to silence warnings. Modified: cfe/trunk/lib/Tooling/Syntax/BuildTree.cpp Modified: cfe/trunk/lib/Tooling/Syntax/BuildTree.cpp URL:

r352307 - Remove Expr sugar decorating the CXXUuidofExpr node.

2019-01-26 Thread Bill Wendling via cfe-commits
Author: void Date: Sat Jan 26 23:24:03 2019 New Revision: 352307 URL: http://llvm.org/viewvc/llvm-project?rev=352307=rev Log: Remove Expr sugar decorating the CXXUuidofExpr node. Summary: Sugar, like ConstantExpr, causes an infinite expansion of the template object. Reviewers: rsmith,

r349604 - Use "EvaluateAsRValue" instead of as a known int, because if it's not a known

2018-12-18 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Dec 18 20:54:29 2018 New Revision: 349604 URL: http://llvm.org/viewvc/llvm-project?rev=349604=rev Log: Use "EvaluateAsRValue" instead of as a known int, because if it's not a known integer we want to emit a diagnostic instead of asserting. Modified:

r349603 - Revert accidentally included code.

2018-12-18 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Dec 18 20:36:42 2018 New Revision: 349603 URL: http://llvm.org/viewvc/llvm-project?rev=349603=rev Log: Revert accidentally included code. Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp URL:

r349561 - Emit ASM input in a constant context

2018-12-18 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Dec 18 14:54:03 2018 New Revision: 349561 URL: http://llvm.org/viewvc/llvm-project?rev=349561=rev Log: Emit ASM input in a constant context Summary: Some ASM input constraints (e.g., "i" and "n") require immediate values. At O0, very few code transformations are performed.

r348071 - Correct indentation.

2018-12-01 Thread Bill Wendling via cfe-commits
Author: void Date: Sat Dec 1 01:06:26 2018 New Revision: 348071 URL: http://llvm.org/viewvc/llvm-project?rev=348071=rev Log: Correct indentation. Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp URL:

r348070 - Specify constant context in constant emitter

2018-12-01 Thread Bill Wendling via cfe-commits
Author: void Date: Sat Dec 1 00:29:36 2018 New Revision: 348070 URL: http://llvm.org/viewvc/llvm-project?rev=348070=rev Log: Specify constant context in constant emitter The constant emitter may need to evaluate the expression in a constant context. For exasmple, global initializer lists.

r348032 - Revert r348029. I was git-ing and jumped the gun.

2018-11-30 Thread Bill Wendling via cfe-commits
Author: void Date: Fri Nov 30 12:44:11 2018 New Revision: 348032 URL: http://llvm.org/viewvc/llvm-project?rev=348032=rev Log: Revert r348029. I was git-ing and jumped the gun. Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp cfe/trunk/test/CodeGen/builtin-constant-p.c Modified:

r348029 - We're in a constant context in the ConstantEmitter.

2018-11-30 Thread Bill Wendling via cfe-commits
Author: void Date: Fri Nov 30 12:40:06 2018 New Revision: 348029 URL: http://llvm.org/viewvc/llvm-project?rev=348029=rev Log: We're in a constant context in the ConstantEmitter. Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp cfe/trunk/test/CodeGen/builtin-constant-p.c Modified:

r347531 - A "constexpr" is evaluated in a constant context. Make sure this is reflected

2018-11-25 Thread Bill Wendling via cfe-commits
Author: void Date: Sun Nov 25 18:10:53 2018 New Revision: 347531 URL: http://llvm.org/viewvc/llvm-project?rev=347531=rev Log: A "constexpr" is evaluated in a constant context. Make sure this is reflected if a __builtin_constant_p() is a part of a constexpr. Modified:

r347512 - isEvaluatable() implies a constant context.

2018-11-24 Thread Bill Wendling via cfe-commits
Author: void Date: Sat Nov 24 02:45:55 2018 New Revision: 347512 URL: http://llvm.org/viewvc/llvm-project?rev=347512=rev Log: isEvaluatable() implies a constant context. Assume that we're in a constant context if we're asking if the expression can be compiled into a constant initializer. This

r347480 - A __builtin_constant_p() returns 0 with a function type.

2018-11-22 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 22 14:58:06 2018 New Revision: 347480 URL: http://llvm.org/viewvc/llvm-project?rev=347480=rev Log: A __builtin_constant_p() returns 0 with a function type. Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp cfe/trunk/test/CodeGen/builtin-constant-p.c Modified:

r347446 - The result of is.constant() is unsigned.

2018-11-22 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 22 01:31:08 2018 New Revision: 347446 URL: http://llvm.org/viewvc/llvm-project?rev=347446=rev Log: The result of is.constant() is unsigned. Added: cfe/trunk/test/CodeGen/builtin-constant-p.c Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp Modified:

[clang-tools-extra] r347419 - Update call to EvaluateAsInt() to the new syntax.

2018-11-21 Thread Bill Wendling via cfe-commits
Author: void Date: Wed Nov 21 12:45:00 2018 New Revision: 347419 URL: http://llvm.org/viewvc/llvm-project?rev=347419=rev Log: Update call to EvaluateAsInt() to the new syntax. Modified: clang-tools-extra/trunk/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp

r347417 - Re-Reinstate 347294 with a fix for the failures.

2018-11-21 Thread Bill Wendling via cfe-commits
Author: void Date: Wed Nov 21 12:44:18 2018 New Revision: 347417 URL: http://llvm.org/viewvc/llvm-project?rev=347417=rev Log: Re-Reinstate 347294 with a fix for the failures. Don't try to emit a scalar expression for a non-scalar argument to __builtin_constant_p(). Third time's a charm! Added:

[clang-tools-extra] r347366 - Update EvaluateAsInt to the new syntax.

2018-11-20 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Nov 20 15:24:39 2018 New Revision: 347366 URL: http://llvm.org/viewvc/llvm-project?rev=347366=rev Log: Update EvaluateAsInt to the new syntax. Modified: clang-tools-extra/trunk/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp

r347364 - Reinstate 347294 with a fix for the failures.

2018-11-20 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Nov 20 15:24:16 2018 New Revision: 347364 URL: http://llvm.org/viewvc/llvm-project?rev=347364=rev Log: Reinstate 347294 with a fix for the failures. EvaluateAsInt() is sometimes called in a constant context. When that's the case, we need to specify it as so. Modified:

r347294 - Use is.constant intrinsic for __builtin_constant_p

2018-11-20 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Nov 20 00:53:30 2018 New Revision: 347294 URL: http://llvm.org/viewvc/llvm-project?rev=347294=rev Log: Use is.constant intrinsic for __builtin_constant_p Summary: A __builtin_constant_p may end up with a constant after inlining. Use the is.constant intrinsic if it's a

Re: [clang-tools-extra] r346461 - Ignore implicit things like ConstantExpr.

2018-11-09 Thread Bill Wendling via cfe-commits
This fix was submitted because a test was failing without it. :-) On Thu, Nov 8, 2018 at 10:08 PM Roman Lebedev wrote: > Test? > > On Fri, Nov 9, 2018 at 4:34 AM Bill Wendling via cfe-commits > wrote: > > > > Author: void > > Date: Thu Nov 8 17:32:30 2018 > &

[clang-tools-extra] r346467 - Remove unused c'tor.

2018-11-08 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 8 18:03:24 2018 New Revision: 346467 URL: http://llvm.org/viewvc/llvm-project?rev=346467=rev Log: Remove unused c'tor. Modified: clang-tools-extra/trunk/modularize/ModuleAssistant.cpp Modified: clang-tools-extra/trunk/modularize/ModuleAssistant.cpp URL:

[clang-tools-extra] r346461 - Ignore implicit things like ConstantExpr.

2018-11-08 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 8 17:32:30 2018 New Revision: 346461 URL: http://llvm.org/viewvc/llvm-project?rev=346461=rev Log: Ignore implicit things like ConstantExpr. Modified: clang-tools-extra/trunk/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp Modified:

r346458 - Use correct parameter name in comment.

2018-11-08 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 8 17:04:05 2018 New Revision: 346458 URL: http://llvm.org/viewvc/llvm-project?rev=346458=rev Log: Use correct parameter name in comment. Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h Modified:

r346455 - Compound literals, enums, et al require const expr

2018-11-08 Thread Bill Wendling via cfe-commits
Author: void Date: Thu Nov 8 16:41:36 2018 New Revision: 346455 URL: http://llvm.org/viewvc/llvm-project?rev=346455=rev Log: Compound literals, enums, et al require const expr Summary: Compound literals, enums, file-scoped arrays, etc. require their initializers and size specifiers to be

Re: [PATCH] D53475: Create ConstantExpr class

2018-10-30 Thread Bill Wendling via cfe-commits
I didn't see that during my tests. Probably different -W flags or something. I reverted that bit. I hope it fixes the problem. -bw On Tue, Oct 30, 2018 at 10:02 PM Kristina Brooks via Phabricator < revi...@reviews.llvm.org> wrote: > kristina added a comment. > > Ah, it was causing this warning

r345695 - Change "struct" to "class" to avoid warnings

2018-10-30 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Oct 30 21:58:34 2018 New Revision: 345695 URL: http://llvm.org/viewvc/llvm-project?rev=345695=rev Log: Change "struct" to "class" to avoid warnings Modified: cfe/trunk/include/clang/AST/Expr.h Modified: cfe/trunk/include/clang/AST/Expr.h URL:

r345692 - Create ConstantExpr class

2018-10-30 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Oct 30 20:48:47 2018 New Revision: 345692 URL: http://llvm.org/viewvc/llvm-project?rev=345692=rev Log: Create ConstantExpr class A ConstantExpr class represents a full expression that's in a context where a constant expression is required. This class reflects the path the

r334573 - Remove extraneous semicolon.

2018-06-13 Thread Bill Wendling via cfe-commits
Author: void Date: Tue Jun 12 23:33:59 2018 New Revision: 334573 URL: http://llvm.org/viewvc/llvm-project?rev=334573=rev Log: Remove extraneous semicolon. Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

<    1   2   3   4   5