Displaying 5 results from an estimated 5 matches for "gettypelocclass".
2012 Nov 30
3
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...ev: what should we do to fix this? I don't think it's helpful
> >>> to add machinery to llvm::cast to handle concrete type conversion, so
> >>> I think we should consider a non-llvm::cast solution for this
> >>> hierarchy. Replace the llvm::isa calls with getTypeLocClass calls (or
> >>> a separate wrapper for that) & add a SpecificTypeLoc(const TypeLoc&)
> >>> ctor for every specific TypeLoc that has an appropriate assert & calls
> >>> up through to the base copy ctor. It'll be a fair bit of code to add
> >&...
2012 Dec 05
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...uld we do to fix this? I don't think it's helpful
>> >>> to add machinery to llvm::cast to handle concrete type conversion, so
>> >>> I think we should consider a non-llvm::cast solution for this
>> >>> hierarchy. Replace the llvm::isa calls with getTypeLocClass calls (or
>> >>> a separate wrapper for that) & add a SpecificTypeLoc(const TypeLoc&)
>> >>> ctor for every specific TypeLoc that has an appropriate assert & calls
>> >>> up through to the base copy ctor. It'll be a fair bit of code to ad...
2012 Nov 29
2
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...)
>>
>> Clang Dev: what should we do to fix this? I don't think it's helpful
>> to add machinery to llvm::cast to handle concrete type conversion, so
>> I think we should consider a non-llvm::cast solution for this
>> hierarchy. Replace the llvm::isa calls with getTypeLocClass calls (or
>> a separate wrapper for that) & add a SpecificTypeLoc(const TypeLoc&)
>> ctor for every specific TypeLoc that has an appropriate assert & calls
>> up through to the base copy ctor. It'll be a fair bit of code to add
>> to TypeLoc, but nothing comp...
2012 Nov 30
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...gt;> Clang Dev: what should we do to fix this? I don't think it's helpful
>>> to add machinery to llvm::cast to handle concrete type conversion, so
>>> I think we should consider a non-llvm::cast solution for this
>>> hierarchy. Replace the llvm::isa calls with getTypeLocClass calls (or
>>> a separate wrapper for that) & add a SpecificTypeLoc(const TypeLoc&)
>>> ctor for every specific TypeLoc that has an appropriate assert & calls
>>> up through to the base copy ctor. It'll be a fair bit of code to add
>>> to TypeLoc,...
2013 Feb 11
3
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...fix this? I don't think it's helpful
>>> >>> to add machinery to llvm::cast to handle concrete type conversion, so
>>> >>> I think we should consider a non-llvm::cast solution for this
>>> >>> hierarchy. Replace the llvm::isa calls with getTypeLocClass calls (or
>>> >>> a separate wrapper for that) & add a SpecificTypeLoc(const TypeLoc&)
>>> >>> ctor for every specific TypeLoc that has an appropriate assert & calls
>>> >>> up through to the base copy ctor. It'll be a fair bit o...