[cfe-commits] r50538 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Neil Booth neil at daikokuya.co.uk
Thu May 1 15:19:42 PDT 2008


Argiris Kirtzidis wrote:-

> Author: akirtzidis
> Date: Thu May  1 16:04:16 2008
> New Revision: 50538
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=50538&view=rev
> Log:
> Implicitly defined functions were getting the DeclContext of the function where they appeared, causing the bug: http://llvm.org/bugs/show_bug.cgi?id=2266.
> Fix it by making implicitly defined functions get the DeclContext of translation unit.

Does this give them local or global scope?  They should only have local
scope; it sounds like you're making them global.

Neil.



More information about the cfe-commits mailing list