Displaying 3 results from an estimated 3 matches for "getoriginaltyp".
Did you mean:
getoriginaltype
2013 Dec 10
2
[LLVMdev] Switching to the new MingW ABI
...re<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
- printBefore(T->getPointeeType(), OS);
+
+ // Suppress the printing of implied calling conventions.
+ QualType Pointee = T->getPointeeType();
+ if (const AdjustedType *AT = dyn_cast<AdjustedType>(Pointee))
+ Pointee = AT->getOriginalType();
+
+ printBefore(Pointee, OS);
// Handle things like 'int (Cls::*A)[4];' correctly.
// FIXME: this should include vectors, but vectors use attributes I guess.
- if (isa<ArrayType>(T->getPointeeType()))
+ if (isa<ArrayType>(Pointee))
OS << '(';...
2013 Dec 10
0
[LLVMdev] Switching to the new MingW ABI
On Mon, Dec 9, 2013 at 5:18 PM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> Mingw switched abis with the release of gcc 4.7
> (http://gcc.gnu.org/gcc-4.7/changes.html). The main change is that now
> mingw (like msvc) given thiscall calling convention to methods by
> default.
>
> I think the last bug blocking us to support the new abi has just been
> fixed.
2013 Dec 10
10
[LLVMdev] Switching to the new MingW ABI
Mingw switched abis with the release of gcc 4.7
(http://gcc.gnu.org/gcc-4.7/changes.html). The main change is that now
mingw (like msvc) given thiscall calling convention to methods by
default.
I think the last bug blocking us to support the new abi has just been
fixed. The question now is how to switch.
The attached patches simply switch llvm and clang to the new ABI. This
is similar to what