search for: basetoderived

Displaying 7 results from an estimated 7 matches for "basetoderived".

2016 Dec 21
2
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...D and the base class ob b. Is this available in the Clang compiler or LTO? Also, if b is an object of a virtual Class (class with inherited or its own virtual functions) can I get its virtual pointer at compile time by using the LTO? I found out that in CodeGen/CGExpr.cpp the explicit case "BaseToDerived" is handled and you can retrieve TypeSourceInfo using the function getTypeInfoAsWritten(). It seems that this information is enough to get the exact type of this cast at compile-time and should also work for Template programming, as my, understanding is that Clang should have abstracted the co...
2016 Dec 13
1
help needed: How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...D and the base class ob b. Is this available in the Clang compiler or LTO? Also, if b is an object of a virtual Class (class with inherited or its own virtual functions) can I get its virtual pointer at compile time by using the LTO? I found out that in CodeGen/CGExpr.cpp the explicit case "BaseToDerived" is handled and you can retrieve TypeSourceInfo using the function getTypeInfoAsWritten(). It seems that this information is enough to get the exact type of this cast at compile-time and should also work for Template programming, as my, understanding is that Clang should have abstracted the co...
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...> available in the Clang compiler or LTO? > > Also, if b is an object of a virtual Class (class with inherited or its > own virtual functions) can I get its virtual pointer at compile time > by using the LTO? > > I found out that in CodeGen/CGExpr.cpp the explicit case "BaseToDerived" is > handled and you can retrieve TypeSourceInfo using the function > getTypeInfoAsWritten(). It seems that this information is enough to get > the exact type of this cast at compile-time and should also work for > Template programming, as my, understanding is that Clang should ha...
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...t;>> >>> Also, if b is an object of a virtual Class (class with inherited or its >>> own virtual functions) can I get its virtual pointer at compile time >>> by using the LTO? >>> >>> I found out that in CodeGen/CGExpr.cpp the explicit case "BaseToDerived" is >>> handled and you can retrieve TypeSourceInfo using the function >>> getTypeInfoAsWritten(). It seems that this information is enough to get >>> the exact type of this cast at compile-time and should also work for >>> Template programming, as my, under...
2016 Dec 16
0
Help needed: How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...D and the base class ob b. Is this available in the Clang compiler or LTO? Also, if b is an object of a virtual Class (class with inherited or its own virtual functions) can I get its virtual pointer at compile time by using the LTO? I found out that in CodeGen/CGExpr.cpp the explicit case "BaseToDerived" is handled and you can retrieve TypeSourceInfo using the function getTypeInfoAsWritten(). It seems that this information is enough to get the exact type of this cast at compile-time and should also work for Template programming, as my, understanding is that Clang should have abstracted the co...
2016 Dec 21
3
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
...mpiler or LTO? >> >> Also, if b is an object of a virtual Class (class with inherited or its >> own virtual functions) can I get its virtual pointer at compile time >> by using the LTO? >> >> I found out that in CodeGen/CGExpr.cpp the explicit case >> "BaseToDerived" is >> handled and you can retrieve TypeSourceInfo using the function >> getTypeInfoAsWritten(). It seems that this information is enough to get >> the exact type of this cast at compile-time and should also work for >> Template programming, as my, understanding is that...
2016 Mar 13
2
LLVM-related research position at University of Cambridge Computer Lab
Hi all, We are advertising a position for a research assistant / research associate at the University of Cambridge Computer Lab, working with LLVM targeting the Loki (http://www.cl.cam.ac.uk/~rdm34/loki/) architecture. For full details please see http://www.jobs.cam.ac.uk/job/9756/, though the 'meat' of the advert is pasted below. The Loki project has been my main focus for a number of