<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Hello, <br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">I found a function call Function::isDeclaration() in llvm 2.5 (I know that's ancient...), which is useful to me, but I can't find it in the later version 3.3, nor the latest 3.7.....Therefore, is there an alternative way to check whether the function is just a declaration or a definition ?<br><br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">PS: I read the source code of llvm 2.5, and found isDeclaration is simply to check if the private member "basicblocks" in a function is empty, but since it's private, I can't call it outside the class...<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Thanks<br clear="all"></div><br>-- <br><div class="gmail_signature">Best regards<br><br><br>Hui Zhang<br></div>
</div>