Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 'extern' variables in functions don't shadow externs in global scope. Fixes ↵ | Argyrios Kyrtzidis | 2011-04-25 | 1 | -0/+11 |
| | | | | | | rdar://8883302, this time for C++ as well. llvm-svn: 130157 | ||||
* | In Sema::CheckShadow, get the DeclContext from the variable that we are checking | Argyrios Kyrtzidis | 2011-02-08 | 1 | -0/+15 |
| | | | | | | | | instead from the Scope; Inner scopes in bodies don't have DeclContexts associated with them. Fixes http://llvm.org/PR9160 & rdar://problem/8966163. llvm-svn: 125097 | ||||
* | Don't warn that variables in C++ static member functions shadow fields. ↵ | Argyrios Kyrtzidis | 2011-01-31 | 1 | -0/+13 |
| | | | | | | Fixes rdar://8900456. llvm-svn: 124581 | ||||
* | Implement -Wshadow for parameter declarations as well. | John McCall | 2010-03-20 | 1 | -0/+6 |
| | | | | llvm-svn: 99037 | ||||
* | Forgot the testcases. | John McCall | 2010-03-16 | 1 | -0/+38 |
llvm-svn: 98685 |