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
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to