similar to: [LLVMdev] Process the initializers of a C++ class properly

Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] Process the initializers of a C++ class properly"

2013 Sep 05
0
[LLVMdev] [ast-dump] Class template partial specializations missing from an implicit class template instantiation?
I was looking at the ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember documentation, in the included example it says: "(..) the instantiation of Outer<float>::Inner<int*> will end up instantiating the partial specialization Outer<float>::Inner<U*> (...)". To understand the concept better, I dumped the AST for the following code:
2019 Jun 09
2
Strange local variable cv::VideoCapture allocated
Hi I am using clang-6 to compile this C++ code and I see a strange temporary variable allocated at expression address 0x7ff1131536e8. If I change the ternary operator at line 483 to an if-else, the temporary is not allocated. Thanks Variables: ========= FFMPEGVideoCapture ffmpeg_video_capture_; cv::VideoCapture opencv_video_capture_; Function: ======== bool
2012 Jul 10
2
[LLVMdev] Clang error compiling
llvm[1]: Compiling APFloat.cpp for Release+Asserts build clang: TargetInfo.cpp:1778: llvm::Type *GetX86_64ByValArgumentPair(llvm::Type *, llvm::Type *, const llvm::TargetData &): Assertion `Lo->isIntegerTy() && "Invalid/unknown lo type"' failed. 0 clang 0x0000000001c132ef 1 clang 0x0000000001c13804 2 libpthread.so.0 0x00002ba7d7eaec60 3
2011 Jun 27
0
OpenBUGS and glmmBUGS package
Dear All, I am trying to use the glmmBUGS package with OpenBUGS under Linux. Here is a short list of code I modified from the diseasemapping package document: ---------------------------------------- library(diseasemapping) data(popdata) data(casedata) model = getRates(casedata, popdata, ~age*sex, breaks=seq(0, 90, by=10) ) ontario = getSMR(popdata,model, casedata) spplot(ontario,
2011 Jul 20
4
Setup database on new clone
I''ve just cloned my rails app onto another PC, and I''m having a problem getting the database set up. I''ve tried rake db:migrate, then db:create and also db:reset, but I keep getting an SQLException "no such table". It seems this is due to a line in an initializer which accesses one of my tables. Why do the db:* tasks run the initializers ? Do I need to move
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
On Wed, Jan 14, 2015 at 9:05 AM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > > On 2015 Jan 14, at 07:58, Duncan P. N. Exon Smith <dexonsmith at apple.com> > wrote: > > > >> > >> On 2015 Jan 13, at 23:59, David Blaikie <dblaikie at gmail.com> wrote: > >> > >> > >> > >> On Tue, Jan 13, 2015
2008 Aug 18
1
"nested" getInitial calls; variable scoping problems
Hi All, Another nls related problem (for background, I'm migrating a complicated modelling package from S-plus to R). Below I've reduced this to the minimum necessary to demonstrate my problem (I think); the real situation is more complicated. Two similar selfStart functions, ssA and ssB. The 'initial' function for ssB modifies its arguments a little and then calls getInital
2008 Oct 11
1
config/initializers
Hi In rails 2.0 config/initializers directory is there. I am using 1.2.5 So for initializing some gem (for example) in which file can I do that? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Aug 15
0
Initializers from Rails 2 to Rails 3
I am upgrading an app from Rails 2.3.8 to Rails 3.0. I am finding that the initializers in the initializers directory do not seem to load. Is there any way to configure it. In general, what are the new load procedures for Rails 3? Thanks. Bharat -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 Apr 18
1
Missing :bucket option (S3), while it is defined in production initializers.
I got my S3 credentials defined in my production.rb, linkwise to this heroku post <https://devcenter.heroku.com/articles/paperclip-s3>. However when I''m testing it on Heroku, I get this error in my logs: "ArgumentError (missing required :bucket option)". What could be wrong? -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 Jul 25
0
You can't set a constant with namespace in the initializers?
Help! in my rails controllers, there is a ''Admin'' namespace. (My the structure of the controllers dir is like this : app/controllers: home_controller.rb ... admin/posts_controller.rb admin/pages_controller.rb The ''Admin'' will automatically become a Module constant (I know it from the console: ''puts Admin => Module''); And in my
2009 Aug 06
6
initializers
I created a "config/initializers/tasks.rb" In it I have the following is all: logger.info("Running tasks") However nothing is logged or run. Am I missing something? -- Posted via http://www.ruby-forum.com/.
2003 Jan 28
0
[LLVMdev] Building structures & their initializers
*sheepish grin* Nevermind. :P -j -- Joel Stanley * jstanley at cs.uiuc.edu
2007 Aug 20
0
[LLVMdev] Problem with missing support for non-zero contant initializers.
On 8/20/07, Anton Korobeynikov <asl at math.spbu.ru> wrote: > Hello, Tomas. > > > So far I have only been using LLVM at the user level. And I'm not sure > > how this problem should be solved. It would be really nice if there > > was a way to specify something like: > > ******************************************************************* > >
2007 Aug 20
0
[LLVMdev] Problem with missing support for non-zero contant initializers.
On Mon, 20 Aug 2007, Tomas Lindquist Olsen wrote: > I'm working on a LLVM based compiler for the D programming language by > Walter Bright. Nifty. > D allows static arrays up to 16MB in size. I'm initializing global > static arrays with a constant initializer. But D requires that (per > default) static arrays are initialized with the default initializer > for the
2007 Aug 20
1
[LLVMdev] Problem with missing support for non-zero contant initializers.
> > D allows static arrays up to 16MB in size. I'm initializing global > > static arrays with a constant initializer. But D requires that (per > > default) static arrays are initialized with the default initializer > > for the element type. For float this happens to be NaN, so I cannot > > use a 'zeroinitializer'. > > Wow, this *is* bad. I think
2007 Aug 20
1
[LLVMdev] Problem with missing support for non-zero contant initializers.
Chris Lattner wrote: >> D allows static arrays up to 16MB in size. I'm initializing global >> static arrays with a constant initializer. But D requires that (per >> default) static arrays are initialized with the default initializer >> for the element type. For float this happens to be NaN, so I cannot >> use a 'zeroinitializer'. > > Wow, this *is*
2011 Jan 13
2
[LLVMdev] Designated Initializers work in clang++
di.cpp: ------ #include <iostream> using namespace std; struct foo { int a; int b; }; int main(int, char **) { const foo f = { .a = 10, .b = 11 }; cout << f.a << ' ' << f.b << endl; return 0; } ----- $ clang++ -Wall -Wextra -Weffc++ -o di di.cpp $ ./di 10 11 It is a standard C99! Or am I wrong? $ clang++ --version clang version 2.8
2011 Jan 14
0
[LLVMdev] Designated Initializers work in clang++
On Jan 13, 2011, at 1:33 PM, Andrey Valyaev wrote: > di.cpp: > ------ > #include <iostream> > using namespace std; > > struct foo { > int a; > int b; > }; > > int main(int, char **) > { > const foo f = { .a = 10, .b = 11 }; > cout << f.a << ' ' << f.b << endl; > return 0; > } > ----- > > $
2016 Dec 18
0
[PATCH] drm/nouveau: use designated initializers
On Fri, Dec 16, 2016 at 05:04:42PM -0800, Kees Cook wrote: > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. These were identified during > allyesconfig builds of x86, arm, and arm64, with most initializer fixes > extracted from grsecurity. > > Signed-off-by: Kees Cook <keescook at chromium.org>