search for: clangexample

Displaying 1 result from an estimated 1 matches for "clangexample".

2011 Aug 09
1
[LLVMdev] Debug information for llvm-clang
...s 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-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32" target triple = "i686...