llvm-project/clang/lib/Sema
Daniel Jasper c531daefd9 Split -Wunused-variable warning.
With r190382, -Wunused-variable warns about unused const variables when
appropriate. For codebases that use -Werror, this poses a problem as
existing unused const variables need to be cleaned up first. To make the
transistion easier, this patch splits -Wunused-variable by pulling out
an additional -Wunused-const-variable (by default activated along with
-Wunused-variable).

llvm-svn: 190508
2013-09-11 10:37:35 +00:00
..
AnalysisBasedWarnings.cpp Fix constructor-related typos. 2013-09-09 14:48:42 +00:00
AttributeList.cpp Attribute tablegen now understands that attribute arguments can be optional. This allows for automated checking of the number of arguments expected vs number of arguments given for attributes. Greatly reduces the amount of manual checking required. 2013-09-09 23:33:17 +00:00
CMakeLists.txt Attribute tablegen now understands that attribute arguments can be optional. This allows for automated checking of the number of arguments expected vs number of arguments given for attributes. Greatly reduces the amount of manual checking required. 2013-09-09 23:33:17 +00:00
CodeCompleteConsumer.cpp Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
DeclSpec.cpp "bool" should be a context-sensitive keyword in Altivec mode. 2013-07-03 20:54:09 +00:00
DelayedDiagnostic.cpp objective-C: when diagnosing deprecated/unavailable usage of 2012-09-21 20:46:37 +00:00
IdentifierResolver.cpp Delete dead code. 2013-06-19 02:07:51 +00:00
JumpDiagnostics.cpp Fix a couple of bugs where jump diagnostics would not notice that a variable 2013-06-03 01:05:37 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Scope.cpp
ScopeInfo.cpp Sema for Captured Statements 2013-04-16 19:37:38 +00:00
Sema.cpp Split -Wunused-variable warning. 2013-09-11 10:37:35 +00:00
SemaAccess.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
SemaAttr.cpp Omit llvm:: before StringRef and SmallString. We have using directive in include/clang/Basic/LLVM.h. 2013-08-10 13:29:01 +00:00
SemaCXXScopeSpec.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
SemaCast.cpp Fix missing source location in CXXTemporaryObjectExpr nodes. 2013-09-07 05:49:53 +00:00
SemaChecking.cpp volatile types are not trivially copyable. 2013-09-11 03:49:34 +00:00
SemaCodeComplete.cpp Cleanup of OpaquePtr. No functionality changes. 2013-08-27 13:15:56 +00:00
SemaConsumer.cpp
SemaDecl.cpp Fix regression from r190382. 2013-09-10 21:10:25 +00:00
SemaDeclAttr.cpp The cleanup attribute no longer uses an unresolved, simple identifier as its argument. Instead, it takes an expression that is fully resolved. 2013-09-11 01:37:41 +00:00
SemaDeclCXX.cpp Fix constructor-related typos. 2013-09-09 14:48:42 +00:00
SemaDeclObjC.cpp Cleanup of OpaquePtr. No functionality changes. 2013-08-27 13:15:56 +00:00
SemaExceptionSpec.cpp Make IgnoreParens() look through ChooseExprs. 2013-07-20 00:40:58 +00:00
SemaExpr.cpp PR5683: Issue a warning when subtracting pointers to types of zero size, and 2013-09-10 21:34:14 +00:00
SemaExprCXX.cpp Fix is_trivially_constructible preconditions. 2013-09-11 02:53:02 +00:00
SemaExprMember.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
SemaExprObjC.cpp Omit llvm:: before makeArrayRef. We have using directive in this file. 2013-08-19 07:57:02 +00:00
SemaFixItUtils.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaInit.cpp Fixed bug in call to CXXTemporaryObjectExpr ctor. 2013-09-07 11:22:02 +00:00
SemaLambda.cpp [ms-cxxabi] Implement guard variables for static initialization 2013-09-10 20:14:30 +00:00
SemaLookup.cpp C++ modules: if a class is defined in multiple modules (for instance, because 2013-09-09 16:55:27 +00:00
SemaObjCProperty.cpp Fix recovery for missing * in objc property. 2013-07-09 01:38:07 +00:00
SemaOpenMP.cpp Silencing an MSVC warning about an empty control statement (it dislikes ; but is fine with {}). 2013-09-09 13:29:38 +00:00
SemaOverload.cpp PR17075: When performing partial ordering of a member function against a 2013-09-11 00:52:39 +00:00
SemaPseudoObject.cpp Make IgnoreParens() look through ChooseExprs. 2013-07-20 00:40:58 +00:00
SemaStmt.cpp Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
SemaStmtAsm.cpp [ms-inline asm] Don't diagnose an empty lookup for inline assmebly. This happen 2013-05-24 18:32:55 +00:00
SemaStmtAttr.cpp PR15300: Support C++11 attributes on base-specifiers. We don't support any such 2013-02-19 23:47:15 +00:00
SemaTemplate.cpp getMostSpecialized for function template sets is never used in the context of a 2013-09-10 22:59:25 +00:00
SemaTemplateDeduction.cpp SemaTemplateDeduction.cpp: Prune two stray \param(s), TPOC and NumCallArguments in Sema::getMostSpecialized(). They were removed since r190444. [-Wdocumentation] 2013-09-11 09:41:51 +00:00
SemaTemplateInstantiate.cpp Refactor for clarity and simplicity. 2013-08-22 00:59:14 +00:00
SemaTemplateInstantiateDecl.cpp Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
SemaTemplateVariadic.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
SemaType.cpp Remove unused class. 2013-09-11 00:37:06 +00:00
TargetAttributesSema.cpp Consolidating the notion of a GNU attribute parameter with the attribute argument list. 2013-08-31 01:11:41 +00:00
TargetAttributesSema.h Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here. 2012-12-20 19:22:21 +00:00
TreeTransform.h Fix missing source location in CXXTemporaryObjectExpr nodes. 2013-09-07 05:49:53 +00:00
TypeLocBuilder.cpp Add missing file from r183563 (the recommit of 183466). 2013-06-07 20:33:10 +00:00
TypeLocBuilder.h Re-commit r183466 with a fix to make the TypeLoc casting machinery work 2013-06-07 20:31:48 +00:00