search for: libclassb

Displaying 5 results from an estimated 5 matches for "libclassb".

Did you mean: libclassa
2009 Jul 07
2
[LLVMdev] How to add an include file
...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.h" class A : public class B {...}; ClassB.h is the header file for a library libClassB.a built from ClassB.cpp and ClassB.h. I can clearly link libClassB with libClassA. 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.frie...
2009 Jul 07
0
[LLVMdev] How to add an include file
...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.h" > > class A : public class B {...}; > > ClassB.h is the header file for a library libClassB.a built from ClassB.cpp > and ClassB.h. > I can clearly link libClassB with libClassA. 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. You have to rebuild libClassA.a from scratch; the genera...
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?  Can I compile the include alone to > byte
2009 Jul 08
1
[LLVMdev] How to add an include file
.... > > ClassA.h contains the single declaration. > > > > class A {...}; > > > > I want to transform it to: > > > > #include "ClassB.h" > > > > class A : public class B {...}; > > > > ClassB.h is the header file for a library libClassB.a built from > ClassB.cpp > > and ClassB.h. > > I can clearly link libClassB with libClassA. 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. > > You have to rebuil...
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