Displaying 1 result from an estimated 1 matches for "frienclass".
Did you mean:
friendclass
2011 Aug 09
1
[LLVMdev] Debug information for llvm-clang
...i want to see all the data for debugging after clang is executed..To check
this I made following example
class friendClass
{
public:
int x;
};
class classBase
{
public:
int get1(){return 1;}
int get2(){return 2;}
};
class classDer:public classBase
{
public:
int get1(){return 1;}
friend class frienClass;
};
int f()
{
classDer x;
return x.get1();
}
After C:\Windows\system32>clang C:\clangParam\clangExample.cpp -S -emit-llvm
-o -
I get following output
; ModuleID = 'C:\clangParam\clangExample.cpp'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f...