I'm not sure.  Was this package built off a pre-3.4 svn checkout or
something?  Is that the latest version that Ubuntu has available?  What
package version(s) do you have for libclang-*-dev?


On Wed, Mar 26, 2014 at 6:22 PM, Nick Cameron <notifications@github.com>wrote:

> In dxr/plugins/clang/dxr-index.cpp:
>
> > @@ -552,7 +552,7 @@ class IndexConsumer : public ASTConsumer,
> >        VarDecl *def = vd->getDefinition();
> >        if (!def) {
> >  #if CLANG_AT_LEAST(3, 4)
> > -        VarDecl *first = vd->getFirstDecl();
> > +        VarDecl *first = vd->getFirstDeclaration();
>
> nick@macbook:~/dxr/src$ clang --version
> Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
>
> I wonder if the Ubuntu adaptation changed it? That would be weird and nasty
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/dxr/pull/270/files#r11002582>
> .
>