[cfe-commits] r57511 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Tue Oct 14 10:28:09 PDT 2008
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)) {
More information about the cfe-commits
mailing list