Displaying 7 results from an estimated 7 matches for "mptr".
Did you mean:
kptr
2013 Dec 06
3
Matrix memory layout R vs. C
...concatenation
of the columns. That leads to the problem. that an R-matrix, for example
123
456
789
is seen by C as
147
258
369
and vice versa.
Here's an example of C code that simply prints the matrix it gets from R:
#include <stdlib.h>
#include "R.h"
void printMatrix(int *mPtr, int *m, int *n) {
int (*matrix)[*n] = mPtr;
int j,k;
for(j = 0; j < *m; j++){
for(k = 0; k < *n; k++) {
printf("%d", matrix[j][k]);
}
printf("\n");
}
}
And here's what happens when I call the function in R:
> m <- 3; n <- 3...
2013 Dec 11
2
[LLVMdev] Switching to the new MingW ABI
...doesn't fix that test case,
> > unfortunately.
>
> Unfortunately, no, I still see the same failures. These are the
> TypePrinter related failures I see:
>
> Clang :: CXX/class.access/p6.cpp
> Clang :: CXX/expr/expr.const/p3-0x.cpp
> Clang :: CXX/expr/expr.mptr.oper/p5.cpp
> Clang :: CXX/expr/expr.mptr.oper/p6-0x.cpp
> Clang :: CXX/expr/expr.unary/expr.unary.op/p4.cpp
> Clang :: CXX/temp/temp.arg/temp.arg.nontype/p5.cpp
> Clang :: SemaCXX/addr-of-overloaded-function.cpp
> Clang :: SemaCXX/const-cast.cpp
> Clang ::...
2013 Dec 11
0
[LLVMdev] Switching to the new MingW ABI
...is patch fix any failures for you? It doesn't fix that test case,
> unfortunately.
Unfortunately, no, I still see the same failures. These are the
TypePrinter related failures I see:
Clang :: CXX/class.access/p6.cpp
Clang :: CXX/expr/expr.const/p3-0x.cpp
Clang :: CXX/expr/expr.mptr.oper/p5.cpp
Clang :: CXX/expr/expr.mptr.oper/p6-0x.cpp
Clang :: CXX/expr/expr.unary/expr.unary.op/p4.cpp
Clang :: CXX/temp/temp.arg/temp.arg.nontype/p5.cpp
Clang :: SemaCXX/addr-of-overloaded-function.cpp
Clang :: SemaCXX/const-cast.cpp
Clang :: SemaCXX/cstyle-cast.cpp
C...
2013 Dec 11
0
[LLVMdev] Switching to the new MingW ABI
...>> > unfortunately.
>>
>> Unfortunately, no, I still see the same failures. These are the
>> TypePrinter related failures I see:
>>
>> Clang :: CXX/class.access/p6.cpp
>> Clang :: CXX/expr/expr.const/p3-0x.cpp
>> Clang :: CXX/expr/expr.mptr.oper/p5.cpp
>> Clang :: CXX/expr/expr.mptr.oper/p6-0x.cpp
>> Clang :: CXX/expr/expr.unary/expr.unary.op/p4.cpp
>> Clang :: CXX/temp/temp.arg/temp.arg.nontype/p5.cpp
>> Clang :: SemaCXX/addr-of-overloaded-function.cpp
>> Clang :: SemaCXX/const-cast.c...
2013 Dec 10
2
[LLVMdev] Switching to the new MingW ABI
On Tue, Dec 10, 2013 at 11:58 AM, Hans Wennborg <hans at chromium.org> wrote:
> It would be nice if we could make the TypePrinter not print the
> calling convention if it's the default one for the ABI, but
> TypePrinter doesn't have a lot of context.. no Sema, no ASTContext :/
>
Does this patch fix any failures for you? It doesn't fix that test case,
unfortunately.
2013 Dec 12
3
[LLVMdev] Switching to the new MingW ABI
....
>>>
>>> Unfortunately, no, I still see the same failures. These are the
>>> TypePrinter related failures I see:
>>>
>>> Clang :: CXX/class.access/p6.cpp
>>> Clang :: CXX/expr/expr.const/p3-0x.cpp
>>> Clang :: CXX/expr/expr.mptr.oper/p5.cpp
>>> Clang :: CXX/expr/expr.mptr.oper/p6-0x.cpp
>>> Clang :: CXX/expr/expr.unary/expr.unary.op/p4.cpp
>>> Clang :: CXX/temp/temp.arg/temp.arg.nontype/p5.cpp
>>> Clang :: SemaCXX/addr-of-overloaded-function.cpp
>>> Clang ::...
2019 Apr 30
6
Disk space and RAM requirements in docs
...Output
16K build/tools/clang/test/CXX/expr/expr.unary/expr.sizeof
16K build/tools/clang/test/CXX/expr/expr.unary/expr.delete
16K build/tools/clang/test/CXX/expr/expr.post/expr.type.conv
16K build/tools/clang/test/CXX/expr/expr.post/expr.reinterpret.cast
16K build/tools/clang/test/CXX/expr/expr.mptr.oper
16K build/tools/clang/test/CXX/expr/expr.cast
16K build/tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref
16K build/tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default
16K build/tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/Output
16K build/tools/clang/test/CXX/dcl...