[cfe-dev] unknown type name 'ObjCClassDecl'

Eli Friedman eli.friedman at gmail.com
Tue Jun 18 22:59:39 PDT 2013


On Tue, Jun 18, 2013 at 8:39 AM, lostknight <thanhtuan at aces.snu.ac.kr>wrote:

> Hi,
>
> I'm new to Clang so please forgive me for the stupid questions.
>
> I'm in the middle of compiling a project that used clang as a library. I'm
> using Clang3.2 The problem is when I tried to compile the project, there is
> some missing declarations, such as
> ObjCClassDecl
> ObjCForwardProtocolDecl
> Dump in clang::PrintingPolicy
> ...
> I found that these definitions are not in the most recent version of clang
> (clang3.4), too.
>
> I wonder these definitions are from older version of clangs? (e.g.,
> clang3.1). If the project is using those things, is there workaround?
>

Probably from an older version, yes.  Your choices are to either use an
older version of clang or update your project for the API changes.  It
might be helpful to search the cfe-commits archives for various symbols.


> By the way, is it safe to state that "there is a full C++ parse in Clang"?
>

Yes.

-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130618/09e0f2d3/attachment.html>


More information about the cfe-dev mailing list