search for: gettypeinfoaswritten

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

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
...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 code into, specific types at this point. Am I wrong here? Is there any case where the type of...
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
...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 code into, specific types at this point. Am I wrong here? Is there any case where the type of...
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
...ass (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 code into, specific types at this point. > > Am I wrong here? > >...
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
...n 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 code into, specific types at this point. >>> &...
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
...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 code into, specific types at this point. Am I wrong here? Is there any case where the type of...
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
...>> 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 code into, specific types at this point. >> >> Am I wron...
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