[cfe-commits] r57511 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Mon Ping Wang monping at apple.com
Tue Oct 14 11:06:16 PDT 2008


Hi Argiris,

I can't build ToT clang.  In, Sema.h, my declaration for LookupDecl is
  Decl *LookupDecl(const IdentifierInfo *II, unsigned NSI, Scope *S,
                    bool enableLazyBuiltinCreation = true);

Are there still some files that needs to be checked in?

Thanks,
   -- Mon Ping


On Oct 14, 2008, at 10:28 AM, Argiris Kirtzidis wrote:

> Author: akirtzidis
> Date: Tue Oct 14 12:28:09 2008
> New Revision: 57511
>
> URL: http://llvm.org/viewvc/llvm-project?rev=57511&view=rev
> Log:
> Fix a call to Sema::LookupDecl that had incorrect parameters.
>
> Modified:
>    cfe/trunk/lib/Sema/SemaDeclCXX.cpp
>
> Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=57511&r1=57510&r2=57511&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Tue Oct 14 12:28:09 2008
> @@ -510,7 +510,7 @@
>     // in that declarative region, it is treated as an original- 
> namespace-name.
>
>     Decl *PrevDecl =
> -        LookupDecl(II, Decl::IDNS_Tag | Decl::IDNS_Ordinary,  
> DeclRegionScope,
> +        LookupDecl(II, Decl::IDNS_Tag | Decl::IDNS_Ordinary,  
> DeclRegionScope, 0,
>                    /*enableLazyBuiltinCreation=*/false);
>
>     if (PrevDecl && isDeclInScope(PrevDecl, CurContext,  
> DeclRegionScope)) {
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081014/9c82201a/attachment.html>


More information about the cfe-commits mailing list