llvm-project/clang/lib
Alex Lorenz 175388c00d [Sema] Avoid -Wshadow warnings for shadowed variables that aren't captured
by lambdas with an explicit capture list

This commit avoids the -Wshadow warning for variables which shadow variables
that aren't captured by lambdas with an explicit capture list. It provides an
additional note that points to location of the explicit capture.

The old behaviour is preserved with -Wshadow-all or -Wshadow-uncaptured-local.

rdar://17135966

Differential Revision: https://reviews.llvm.org/D26278

llvm-svn: 286354
2016-11-09 10:38:57 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST When the ASTImporter imports a source location, it avoids importing macro 2016-11-07 20:42:25 +00:00
ASTMatchers [AST] Convert Marshallers to use unique_ptr. 2016-10-10 16:26:40 +00:00
Analysis [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue 2016-11-01 00:19:04 +00:00
Basic [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled. 2016-11-09 04:51:03 +00:00
CodeGen Emit debug info for global constants whose address is taken exactly once. 2016-11-09 00:42:03 +00:00
Driver clang-cl: Pass /Zc:threadSafeInit through to MSVC with /fallback (PR30948) 2016-11-09 00:56:42 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format [clang-format] Remove (SourceManager, FileID) variants 2016-11-08 16:11:33 +00:00
Frontend Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers Doxygen comments for avxintrin.h. 2016-11-09 03:58:30 +00:00
Index Remove FormatContext from libClang as it is now unused. 2016-11-08 19:47:19 +00:00
Lex Add some more asserts to clearly indicate that there are special cases 2016-11-04 06:32:57 +00:00
Parse [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. 2016-11-09 02:47:07 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [Sema] Avoid -Wshadow warnings for shadowed variables that aren't captured 2016-11-09 10:38:57 +00:00
Serialization Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
StaticAnalyzer Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
Tooling Deduplicate replacements by FileEntry instead of file names. 2016-11-07 06:08:23 +00:00
CMakeLists.txt