search for: dahvid

Displaying 6 results from an estimated 6 matches for "dahvid".

Did you mean: daevid
2009 Jul 07
2
[LLVMdev] How to add an include file
...A. But how can I bring in the header file so that it's declarations will be known in ClassA.h. Remember this is happening during a pass. Thanks, David On Mon, Jul 6, 2009 at 12:48 AM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Sun, Jul 5, 2009 at 1:16 PM, David Minor<dahvid.minor at gmail.com> wrote: > > I'm writing a code transformation that involves adding an include to > > existing code, adding a base class > > to and existing class and then linking with a previously compiled > library. > > The main problem for me > > seems t...
2009 Jul 07
0
[LLVMdev] How to add an include file
On Tue, Jul 7, 2009 at 1:42 AM, David Minor<dahvid.minor at gmail.com> wrote: > Hi Eli, > Let's say I have a file ClassA.h, that pairs with a file ClassA.cpp > to product a library libClassA.a. > ClassA.h contains the single declaration. > > class A {...}; > > I want to transform it to: > > #include "ClassB...
2009 Jul 05
0
[LLVMdev] How to add an include file
On Sun, Jul 5, 2009 at 1:16 PM, David Minor<dahvid.minor at gmail.com> wrote: > I'm writing a code transformation that involves adding an include to > existing code, adding a base class > to and existing class and then linking with a previously compiled library. > The main problem for me > seems to be how can I add the include...
2009 Jul 05
2
[LLVMdev] How to add an include file
I'm writing a code transformation that involves adding an include to existing code, adding a base class to and existing class and then linking with a previously compiled library. The main problem for me seems to be how can I add the include? Can I compile the include alone to byte code and pre-pend it? Should I compile the library, which includes the include and parse out the include and
2009 Jul 08
1
[LLVMdev] How to add an include file
...trivial even w/o llvm, but the real problem here is manipulation of classes, if I understand you correctly adding an inheritee wouldn't be possible. David On Tue, Jul 7, 2009 at 12:43 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Tue, Jul 7, 2009 at 1:42 AM, David Minor<dahvid.minor at gmail.com> wrote: > > Hi Eli, > > Let's say I have a file ClassA.h, that pairs with a file ClassA.cpp > > to product a library libClassA.a. > > ClassA.h contains the single declaration. > > > > class A {...}; > > > > I want to transfor...
2009 Jul 12
0
[LLVMdev] ANTLR?
I've done extensive research on the subject and if you want to parse ALL of C++, there are only two options, g++ or the Edison Design Group C++ front-end. Both of these have projects designed to make this easier LLVM (as you know) and Rose (http://www.rosecompiler.org/), which works with the EDG compiler. AspectC++, OpenC++, Antler, TLX, all work with only a portion of the grammer. On Sat,