Displaying 20 results from an estimated 126 matches for "through".
2012 Aug 22
0
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...ommits,
> >>
> >> There was a discussion on this topic a while ago, and now I've decided to make a formal proposal and post it here.
> >
> > I missed the earlier discussion, so I'm sorry for chiming in late.
> >
> >> I propose to add the LLVM_FALLTHROUGH macro for specifying intended fall-through locations between switch cases.
> >
> > I don't really see that the tradeoff here is worthwhile. It is possible that we have some fallthrough bugs, but the cost of sprinkling this macro everywhere doesn't seem like the right tradeoff....
2012 Aug 22
1
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...s topic a while ago, and now I've
>>>> decided to make a formal proposal and post it here.
>>>> >
>>>> > I missed the earlier discussion, so I'm sorry for chiming in late.
>>>> >
>>>> >> I propose to add the LLVM_FALLTHROUGH macro for specifying intended
>>>> fall-through locations between switch cases.
>>>> >
>>>> > I don't really see that the tradeoff here is worthwhile. It is
>>>> possible that we have some fallthrough bugs, but the cost of sprinkling
>&g...
2012 Jul 27
2
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...; >> There was a discussion on this topic a while ago, and now I've decided
>> to make a formal proposal and post it here.
>> >
>> > I missed the earlier discussion, so I'm sorry for chiming in late.
>> >
>> >> I propose to add the LLVM_FALLTHROUGH macro for specifying intended
>> fall-through locations between switch cases.
>> >
>> > I don't really see that the tradeoff here is worthwhile. It is
>> possible that we have some fallthrough bugs, but the cost of sprinkling
>> this macro everywhere doesn...
2012 Aug 09
0
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...a discussion on this topic a while ago, and now I've
>>> decided to make a formal proposal and post it here.
>>> >
>>> > I missed the earlier discussion, so I'm sorry for chiming in late.
>>> >
>>> >> I propose to add the LLVM_FALLTHROUGH macro for specifying intended
>>> fall-through locations between switch cases.
>>> >
>>> > I don't really see that the tradeoff here is worthwhile. It is
>>> possible that we have some fallthrough bugs, but the cost of sprinkling
>>> this macr...
2012 Jul 27
0
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...s,
> >>
> >> There was a discussion on this topic a while ago, and now I've decided
> to make a formal proposal and post it here.
> >
> > I missed the earlier discussion, so I'm sorry for chiming in late.
> >
> >> I propose to add the LLVM_FALLTHROUGH macro for specifying intended
> fall-through locations between switch cases.
> >
> > I don't really see that the tradeoff here is worthwhile. It is possible
> that we have some fallthrough bugs, but the cost of sprinkling this macro
> everywhere doesn't seem like the r...
2012 Jul 26
0
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...M, Alexander Kornienko wrote:
> Hi llvmdev, llvm-commits,
>
> There was a discussion on this topic a while ago, and now I've decided to make a formal proposal and post it here.
I missed the earlier discussion, so I'm sorry for chiming in late.
> I propose to add the LLVM_FALLTHROUGH macro for specifying intended fall-through locations between switch cases.
I don't really see that the tradeoff here is worthwhile. It is possible that we have some fallthrough bugs, but the cost of sprinkling this macro everywhere doesn't seem like the right tradeoff.
-Chris
2017 Nov 02
0
[PATCH] drm/nouveau/devinit/nv04: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 143119
Addresses-Coverity-ID: 143120
Addresses-Coverity-ID: 143121
Addresses-Coverity-ID: 143122
Addresses-Coverity-ID: 143123
Addresses-Coverity-ID: 143124
Signed-off-by: Gustavo A. R. Silva <garsilva at embedded...
2017 Nov 02
0
[PATCH] drm/nouveau/bios/timing: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1260018
Addresses-Coverity-ID: 1260019
Addresses-Coverity-ID: 1260022
Signed-off-by: Gustavo A. R. Silva <garsilva at embeddedor.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c | 5 +++++
1 file cha...
2018 Aug 06
0
[PATCH net-next] virtio-net: mark expected switch fall-throughs
From: "Gustavo A. R. Silva" <gustavo at embeddedor.com>
Date: Sat, 4 Aug 2018 21:42:05 -0500
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Addresses-Coverity-ID: 1402059 ("Missing break in switch")
> Addresses-Coverity-ID: 1402060 ("Missing break in switch")
> Addresses-Coverity-ID: 1402061 ("Missing break in switch")
> Si...
2012 Jul 26
2
[LLVMdev] [llvm-commits] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...>> Hi llvmdev, llvm-commits,
>>
>> There was a discussion on this topic a while ago, and now I've decided to make a formal proposal and post it here.
>
> I missed the earlier discussion, so I'm sorry for chiming in late.
>
>> I propose to add the LLVM_FALLTHROUGH macro for specifying intended fall-through locations between switch cases.
>
> I don't really see that the tradeoff here is worthwhile. It is possible that we have some fallthrough bugs, but the cost of sprinkling this macro everywhere doesn't seem like the right tradeoff.
>
W...
2012 Jul 26
0
[LLVMdev] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
...3 PM, Cameron McInally
<cameron.mcinally at nyu.edu>wrote:
> Hey Alex,
>
> Sorry if this is a silly question... are you asking if anyone "wants the
> functionality proposed" or "wants to write the code for the functionality
> proposed"?
>
*-Wimplicit-fallthrough* diagnostic is already implemented, and the patch
in this thread is a portability macro for
*[[clang::fallthrough]]*attribute (which is also implemented, of
course). I only need an approval
from community to add this macro and replace comment-only fall-through
annotations with the *LLVM_FALLTHROUGH...
2012 Jun 07
3
[LLVMdev] Instruction Cleanup Questions
I am working on cleaning up some PPC code generation. Two questions:
1. Which pass is responsible for cleaning up self-moves:
0x00000000100057c0 <+208>: mr r3,r3
2. Which pass is responsible for cleaning up unconditional jumps that
should be fall-throughs:
0x0000000010005d88 <+1688>: b 0x10005d8c <._Z11sfoo+1692>
0x0000000010005d8c <+1692>: ld r3,-32056(r2)
Maybe there are no such passes, but these things appear in optimized
code, and I'm trying to figure out why.
Thanks in advance,
Hal
--
Hal Finkel
Postdoct...
2018 Jun 27
0
[PATCH] drm/nouveau/nvkm: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
---
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmi.c | 17 +++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c | 1 +
drivers/gpu/drm/nouveau/nvkm/en...
2019 Feb 15
0
[PATCH] drm: Mark expected switch fall-throughs
On Fri, Feb 15, 2019 at 11:08 AM Gustavo A. R. Silva
<gustavo at embeddedor.com> wrote:
>
> In preparation to enabling -Wimplicit-fallthrough, mark switch
> cases where we are expecting to fall through.
>
> Warning level 3 was used: -Wimplicit-fallthrough=3
>
> Notice that, in some cases, the code comment is modified
> in accordance with what GCC is expecting to find.
>
> This patch is part of the ongoing efforts...
2019 Jan 10
0
[PATCH] drm/nouveau/nvkm: mark expected switch fall-throughs
Hi,
Friendly ping:
Who can take this?
Thanks
--
Gustavo
On 10/17/18 9:28 AM, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> This patch aims to suppress 29 missing-break-in-switch false positives.
>
> Addresses-Coverity-ID: 1456891 ("Missing break in switch")
> Addresses-Coverity-ID: 1324063 ("Missing break in switch"...
2012 Jun 07
0
[LLVMdev] Instruction Cleanup Questions
...:
> I am working on cleaning up some PPC code generation. Two questions:
>
> 1. Which pass is responsible for cleaning up self-moves:
> 0x00000000100057c0 <+208>: mr r3,r3
>
> 2. Which pass is responsible for cleaning up unconditional jumps that
> should be fall-throughs:
> 0x0000000010005d88 <+1688>: b 0x10005d8c <._Z11sfoo+1692>
> 0x0000000010005d8c <+1692>: ld r3,-32056(r2)
>
This should be handled by the MachineBlockPlacement (among others). Do you
have a reduced est case?
-------------- next part --------------
An HTML...
2012 Jul 02
4
[LLVMdev] PROPOSAL: LLVM_FALLTHROUGH macro for intended fall-throughs between switch cases
Hi llvmdev, llvm-commits,
There was a discussion on this topic a while ago, and now I've decided to
make a formal proposal and post it here.
I propose to add the LLVM_FALLTHROUGH macro for specifying intended
fall-through locations between switch cases.
*INTRODUCTION*
The switch construct of C/C++ languages allows fall-throughs between switch
labels when control flow is not directed elsewhere by a break, return or
continue statement or other ways. There are certain coding...
2020 Sep 05
3
Fileserver advice needed
...build a
separate file server which is not a DC, which will deliver all the files to
the lovely little windows users (including their roaming profiles).
I've been looking online and there seems to be a thousand different ways to
"join" my fileserver to the domain, but most of the walk throughs are
outdated.
If I'm right, it needs to be a member server.... Right?
Can anyone point me to a walk through for such a thing (I'm using
Unbuntu 20.04).
It seems like it should be really simple.
2015 Feb 28
4
Samba internal DNS Problem
Hi,
I'm facing a samba internal dns problem. Every command which starts
with "samba-tool dns" throughs the following exception:
ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation error')
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/li...
2006 Nov 02
4
Still Having Problems With :through When Going To Same Table... Help... please :-(
I am having a problem with doing a :through that goes back to the same table.
The following are my two classes:
>>>>>
class User < ActiveRecord::Base
has_many :spanks
has_many :spanked, :through => :spanks, :source => :spanked_user
has_many :was_spanked_by, :through => :spanks, :source => :user
end
cla...