<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi!<br>
<br>
in CGRecordLayout.h<br>
the comments for <br>
<pre class="fragment"><span class="keywordtype">unsigned</span> <a
 class="code"
 href="http://clang.llvm.org/doxygen/classclang_1_1CodeGen_1_1CGRecordLayout.html#8c46d13c10ccd30803664fcd83a65a0f"
 title="Return the BitFieldInfo that corresponds to the field FD.">getLLVMFieldNo</a>(<span
 class="keyword">const</span> <a class="code"
 href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a> *FD)<span
 class="keyword"> const
and
</span><span class="keyword">const</span> <a class="code"
 href="http://clang.llvm.org/doxygen/classclang_1_1CodeGen_1_1CGBitFieldInfo.html"
 title="Helper object for describing how to generate the code for access to a bit-field.">CGBitFieldInfo</a> &<a
 class="code"
 href="http://clang.llvm.org/doxygen/classclang_1_1CodeGen_1_1CGRecordLayout.html#62dd98b26b76f667df40ad64035c38e3"
 title="Return llvm::StructType element number that corresponds to the field FD.">getBitFieldInfo</a>(<span
 class="keyword">const</span> <a class="code"
 href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a> *FD)<span
 class="keyword"> const 

are swapped.


It seems </span><a class="el"
 href="http://clang.llvm.org/doxygen/classclang_1_1CodeGen_1_1CGRecordLayout.html#0839beb026fc875d8ba2651c0743bfdf">CGRecordLayout</a> contains the info I need,
is there a way to access it after compilation to LLVM IR?

<span class="keyword">-Jochen

</span></pre>
<br>
<pre class="fragment"><span class="comment">
</span></pre>
</body>
</html>