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

Argiris Kirtzidis akyrtzi at gmail.com
Tue Oct 14 21:24:47 PDT 2008


Oops, I'm so sorry, this were due to a change in my local copy, I'll 
revert it ASAP.

Mon Ping Wang wrote:
> 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 
>> <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 
>> <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 <mailto:cfe-commits at cs.uiuc.edu>
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list