Displaying 9 results from an estimated 9 matches for "typesourceinfo".
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
...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 code into, specific types at this point.
Am I wrong he...
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
...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 code into, specific types at this point.
Am I wrong he...
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
...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 code into, specific types at this p...
2012 Jun 27
2
[LLVMdev] Compiler warnings with gcc-4.7.1
...enum>’
[-Wenum-compare]/usr/home/yuri/llvm-2012-06/latest-unpatched/llvm-fix/include/llvm/ADT/PointerUnion.h:56:10:
warning: enumeral mismatch in conditional expression:
‘llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous enum>’ vs
‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’
[-Wenum-compare]
/usr/home/yuri/llvm-2012-06/latest-unpatched/llvm-fix/include/llvm/ADT/PointerUnion.h:
In instantiation of ‘class
llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*,
clang::MemberSpecializationInfo*>,
llvm::Point...
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
...ss (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 cod...
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
...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 code into, specific types at this point.
Am I wrong he...
2012 Jun 27
0
[LLVMdev] Compiler warnings with gcc-4.7.1
...[-Wenum-compare]/usr/home/yuri/llvm-2012-06/latest-unpatched/llvm-fix/include/llvm/ADT/PointerUnion.h:56:10:
> warning: enumeral mismatch in conditional expression:
> ‘llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous enum>’ vs
> ‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’
> [-Wenum-compare]
>
> /usr/home/yuri/llvm-2012-06/latest-unpatched/llvm-fix/include/llvm/ADT/PointerUnion.h:
> In instantiation of ‘class
>
> llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*,
> clang::MemberSpecia...
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
...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...
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