search for: override

Displaying 20 results from an estimated 9946 matches for "override".

2014 Mar 03
3
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
While doing the conversion of LLVM_OVERRIDE to 'override' last night, I noticed that the code base is rather inconsistent on whether the 'virtual' keyword is also used when 'override' is used. Should we have a coding standard for this? What's the preferred direction here? Seems not having 'virtual' is les...
2014 Mar 04
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
On Mon, Mar 3, 2014 at 2:02 AM, David Blaikie <dblaikie at gmail.com> wrote: > On Sun, Mar 2, 2014 at 8:19 PM, Craig Topper <craig.topper at gmail.com> > wrote: > > While doing the conversion of LLVM_OVERRIDE to 'override' last night, I > > noticed that the code base is rather inconsistent on whether the > 'virtual' > > keyword is also used when 'override' is used. > > > > Should we have a coding standard for this? What's the preferred direction &gt...
2014 Mar 05
4
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
...15:01, Sean Silva <chisophugis at gmail.com> wrote: > >> On Mon, Mar 3, 2014 at 2:02 AM, David Blaikie <dblaikie at gmail.com> wrote: >> On Sun, Mar 2, 2014 at 8:19 PM, Craig Topper <craig.topper at gmail.com> wrote: >>> While doing the conversion of LLVM_OVERRIDE to 'override' last night, I >>> noticed that the code base is rather inconsistent on whether the 'virtual' >>> keyword is also used when 'override' is used. >>> >>> Should we have a coding standard for this? What's the preferred direc...
2014 Mar 05
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
...hard at metafoo.co.uk> wrote: > On Tue, Mar 4, 2014 at 10:59 PM, Chris Lattner <clattner at apple.com> wrote: > On Mar 4, 2014, at 10:48 PM, Duncan Exon Smith <dexonsmith at apple.com> wrote: >>>>> >>>>>> Related, should we require use of 'override' when methods override a base >>>>>> class method? >>>>> >>>>> My vote: require override. >>>> >>>> +1: override is useful and prevents errors. >>> Would it be too much to have clang emit a warning/error if overr...
2014 Mar 05
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
On Mar 4, 2014, at 10:48 PM, Duncan Exon Smith <dexonsmith at apple.com> wrote: >>>> >>>>> Related, should we require use of 'override' when methods override a base >>>>> class method? >>>> >>>> My vote: require override. >>> >>> +1: override is useful and prevents errors. >> Would it be too much to have clang emit a warning/error if override is missing? I know...
2012 Mar 19
2
PlayOnLinux/PlayOnMac 4.0.16, wineprefix logging system
...tupapi:do_file_copyW Unsupported style(s) 0x144 err:setupapi:do_file_copyW Unsupported style(s) 0x144 (...) (I've removed some line to same spaces on the forum) err:setupapi:do_file_copyW Unsupported style(s) 0x144 [03/17/12 17:18:18] - Running wine- regedit /Users/Tinou/Library/PlayOnMac//tmp/override-dll.reg [03/17/12 17:18:18] - Content of /Users/Tinou/Library/PlayOnMac//tmp/override-dll.reg ----------- REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\DllOverrides] "*d3dx9_24"="native, builtin" ----------- wine(11166,0x40835e00) malloc: *** error for object 0x4014b500: pointer b...
2014 Mar 05
3
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
On Mar 5, 2014, at 9:53 AM, David Blaikie <dblaikie at gmail.com> wrote: >> It might be reasonable to warn if a class has both a function marked >> 'override' and a function that overrides but is not marked 'override'. >> >> >> That could be useful - because it means that the author of the class is at >> least thinking about override - but having a "coding style" warning of "I >> always intend t...
2014 Mar 05
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
...at gmail.com> wrote: > > On Mar 5, 2014, at 10:29 AM, Chris Lattner <clattner at apple.com> wrote: > > > On Mar 5, 2014, at 9:53 AM, David Blaikie <dblaikie at gmail.com> wrote: > > It might be reasonable to warn if a class has both a function marked > 'override' and a function that overrides but is not marked 'override'. > > > That could be useful - because it means that the author of the class is at > least thinking about override - but having a "coding style" warning of "I > always intend to use override" w...
2020 Mar 16
6
Zero listeners on icecast stats
...t;!-- live mountpoint streaming from a PC base station --> <mount> <mount-name>/rcyblive.mp3</mount-name> <intro>./announce-radiocybernet.mp3</intro> <fallback-mount>/radiocybernet-archive.mp3</fallback-mount> <fallback-override>1</fallback-override> <hidden>1</hidden> </mount> <!-- Live mountpoint for a cellular phone streaming --> <mount> <mount-name>/rcybcell.mp3</mount-name> <intro>./announce-radiocybernet.mp3</intro> <fa...
2014 Mar 07
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
On Thu, Mar 6, 2014 at 3:47 PM, Craig Topper <craig.topper at gmail.com> wrote: > virtual bar *foo() = 0; > > where foo() also exists as pure in the base class. Clang-modernize has a > FIXME that says it can't find the "=0" to do the insert of override. > Does that mean we have a pure virtual function with implementation in Clang/LLVM? If so, I feel it's a little bit confusing. If not, we should remove such redundant pure virtual function declarations from derived classes, no? On Thu, Mar 6, 2014 at 3:00 PM, Rui Ueyama <ruiu at google...
2018 Mar 19
2
Is possible to override Dovecot variables or Sieve env vars and extdata lookups
Are the dovecot environment variables mutable? I'd like to override like: set "${env.vnd.dovecot.username}" "someuser at example.org" Or better, I prefer to override %u Dovecot variable during the userdb lookup. Is either possible? PS, when Sieve does extdata lookups for username key, where does username come from? %u? Does an override a...
2014 Mar 05
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
clang-modernize has a -format option that will run clang-format on the code it changes. Ben On Mar 5, 2014, at 2:26 PM, Craig Topper <craig.topper at gmail.com> wrote: > clang-modernize can add the 'override', but it can't currently delete 'virtual'. It will also potentially overflow 80 columns. And if it removed virtual it would fail to align a second line of arguments correctly. So you need modernize and clang-format I guess. Though I'm not sure we want to widespread apply clang-f...
2006 Oct 23
6
overriding mock expectations
...allow overriding of expectations. example: m = mock("blah") m.should_receive(:one).any_number_of_times().and_return(1) m.should_receive(:one).and_return(1) The second call to should_receive is ignored. I believe it would be most convenient if the second call to should_receive would override the first. Why? What I would like to do is define all the should_receives once in the setup using any_number_of_times. This establishes a default context. Then in each spec I''d like to override a specific should_receive relevant to the spec. Without being able to override, I a...
2014 Mar 06
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
After running the tool aginst LLD, I realized that clang-modernize do not add "override" to virtual destructors. I think it's not intended but just that that case is not covered by the tool. On Wed, Mar 5, 2014 at 2:54 PM, Craig Topper <craig.topper at gmail.com> wrote: > Didn't realize that. I'll see if i can figure out how to make it delete > the virt...
2007 Dec 08
2
Re: os_support.h, libc overrides
Jean-Marc, Attached is a patch (to build 14264) to fix the TI DSP builds with the recent restructuring of libspeex. The change adds a hook in os_support.h to allow the user to override some memory allocation and I/O functions. A similar hook was present in misc.c, but was lost when that file was removed. Also, the size of the private memory allocation area has been reduced, to match improvements in Speex memory utilization. In this patch, the memory override functions are im...
2015 Mar 19
2
Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
...eeper (seems to be a general problem with usbhid-ups driver): --- upscmd -uMY_USER -pMY_PASSWORD 3s beeper.disable 'OK' returned, but no effect III)UPS doesn't wait for LB flag: --- a) 1st attempt: (based on LB flag) My ups.conf: [3s] driver = usbhid-ups port = auto pollinterval = 5 override.battery.voltage.nominal = 12 override.battery.mfr.date = 09/28/14 override.outlet.1.desc = "BATTERY" override.outlet.2.desc = "FILTER" override.outlet.desc = "MAIN" override.device.serial = "G008E39401" override.ups.serial = "G008E39401" override.ba...
2014 Mar 06
2
[LLVMdev] [RFC] C++11: 'virtual' and 'override'
...39;t do pure methods either. I think I don't quite understand what that means. Can you give me an example? > On Thursday, March 6, 2014, Rui Ueyama <ruiu at google.com> wrote: > >> After running the tool aginst LLD, I realized that clang-modernize do not >> add "override" to virtual destructors. I think it's not intended but just >> that that case is not covered by the tool. >> >> >> On Wed, Mar 5, 2014 at 2:54 PM, Craig Topper <craig.topper at gmail.com>wrote: >> >> Didn't realize that. I'll see if i can f...
2018 Mar 19
1
Is possible to override Dovecot variables or Sieve env vars and extdata lookups
On 2018-03-19 06:31, Aki Tuomi wrote: > On 19.03.2018 06:40, MRob wrote: >> Are the dovecot environment variables mutable? I'd like to override >> like: >> >> set "${env.vnd.dovecot.username}" "someuser at example.org" >> >> Or better, I prefer to override %u Dovecot variable during the userdb >> lookup. >> >> Is either possible? >> >> PS, when Sieve does...
2002 Sep 16
1
[LLVMdev] how to dynamically load a pass
I tried to make my pass dynamically loadable cause it's too slow to compile the whole system. I copied the Makefile from Hello directory and changed the name. But when I type 'gmake' under the directory of my pass. I always got the following error message. I cannot figure out why. Can you have a look and let me know how to fix it? thanks a lot, xiaodong
2010 Apr 08
1
xen-3 override disparity
There are disparities between your recently accepted upload and the override file for the following file(s): xen-docs-3.4_3.4.3~rc3-2_all.deb: package says priority is optional, override says extra. xenstore-utils_3.4.3~rc3-2_amd64.deb: package says priority is optional, override says extra. Please note that a list of new sections were recently added to the archive: cli-...