[LLVMbugs] [Bug 22894] Cannot get layout of forward declaration!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 13 10:31:02 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=22894

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Everything is working as intended. Check if the type is complete before asking
how big it is. Calling RecordDecl::getDefinition() and checking for null works,
for example.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150313/3de06359/attachment.html>


More information about the llvm-bugs mailing list