llvm-project/clang/lib/Sema
Douglas Gregor fcafc6e3de Implement the initial part of C++0x [expr.const]p2, which specifies
that the unevaluated subexpressions of &&, ||, and ? : are not
considered when determining whether the expression is a constant
expression. Also, turn the "used in its own initializer" warning into
a runtime-behavior warning, so that it doesn't fire when a variable is
used as part of an unevaluated subexpression of its own initializer.

Fixes PR9999.

llvm-svn: 131968
2011-05-24 16:02:01 +00:00
..
AnalysisBasedWarnings.cpp Teach CFG building how to deal with CXXMemberCallExprs and BoundMemberTy, 2011-05-11 07:19:11 +00:00
AttributeList.cpp Add ms_struct attribute on record typee 2011-04-26 17:54:40 +00:00
CMakeLists.txt Store a parameter index and function prototype depth in every 2011-05-01 22:35:37 +00:00
CodeCompleteConsumer.cpp Implement a new 'availability' attribute, that allows one to specify 2011-03-23 00:50:03 +00:00
DeclSpec.cpp Implement __underlying_type for libc++. 2011-05-19 05:37:45 +00:00
DelayedDiagnostic.cpp Teach DelayedDiagnostic to copy its string, rather than hope that the 2011-03-23 15:13:44 +00:00
IdentifierResolver.cpp Fix the insertion of label declarations into the identifier chain in 2011-03-24 10:35:39 +00:00
JumpDiagnostics.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Store a parameter index and function prototype depth in every 2011-05-01 22:35:37 +00:00
Sema.cpp Implement CWG1170, which makes access-control errors into template 2011-05-11 23:45:11 +00:00
SemaAccess.cpp Emulate a MSVC bug where if during an using declaration name lookup, the declaration found is unaccessible (private) and that declaration was bring into scope via another using declaration whose target declaration is accessible (public) then no error is generated. 2011-05-23 03:43:44 +00:00
SemaAttr.cpp Add ms_struct attribute on record typee 2011-04-26 17:54:40 +00:00
SemaCXXCast.cpp Fix a bug in -Wundefined-reinterpret-cast where we failed to look 2011-05-24 07:43:19 +00:00
SemaCXXScopeSpec.cpp When checking a set of template parameter lists against a 2011-05-15 17:27:27 +00:00
SemaChecking.cpp A few more is(Un)signedIntegerType/is(Un)signedOrEnumerationType cleanups. 2011-05-21 16:28:01 +00:00
SemaCodeComplete.cpp When providing code completions for an Objective-C property access, 2011-05-05 15:50:42 +00:00
SemaDecl.cpp Implement the initial part of C++0x [expr.const]p2, which specifies 2011-05-24 16:02:01 +00:00
SemaDeclAttr.cpp Add ms_struct attribute on record typee 2011-04-26 17:54:40 +00:00
SemaDeclCXX.cpp Implement explicit specialization of explicitly-defaulted constructors. 2011-05-23 23:14:04 +00:00
SemaDeclObjC.cpp refactor CheckForwardProtocolDeclarationForCircularDependency returns 2011-05-13 18:02:08 +00:00
SemaExceptionSpec.cpp MSVC doesn't do any validation regarding exception specification. 2011-05-24 02:11:43 +00:00
SemaExpr.cpp Fix our handling of the warning when one tries to pass a 2011-05-21 19:26:31 +00:00
SemaExprCXX.cpp The array-size operand to a new-expression is not necessarily a size_t. 2011-05-15 07:14:44 +00:00
SemaExprObjC.cpp Emit an error when trying to @encode an incomplete type. 2011-05-14 20:32:39 +00:00
SemaInit.cpp Implement defaulting of destructors. 2011-05-12 22:46:29 +00:00
SemaLookup.cpp Implement implicit deletion of default constructors. 2011-05-11 22:34:38 +00:00
SemaObjCProperty.cpp fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
SemaOverload.cpp Audit and finish the implementation of C++0x nullptr, fixing two 2011-05-21 23:15:46 +00:00
SemaStmt.cpp Introduce Type::isSignedIntegerOrEnumerationType() and 2011-05-20 16:38:50 +00:00
SemaTemplate.cpp Audit and finish the implementation of C++0x nullptr, fixing two 2011-05-21 23:15:46 +00:00
SemaTemplateDeduction.cpp It's considered poor form to create references to the overloaded 2011-05-21 22:16:50 +00:00
SemaTemplateInstantiate.cpp Add an assertion to tell us when we're going off the deep end trying 2011-05-22 00:21:10 +00:00
SemaTemplateInstantiateDecl.cpp Delete the extraneous return statement that was causing my earlier 2011-05-23 23:56:01 +00:00
SemaTemplateVariadic.cpp Implement __underlying_type for libc++. 2011-05-19 05:37:45 +00:00
SemaType.cpp It's considered poor form to create references to the overloaded 2011-05-21 22:16:50 +00:00
TargetAttributesSema.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Diagnose unexpanded parameter packs in return statements. This 2011-05-20 15:32:55 +00:00
TypeLocBuilder.h Remove crash recovery cleanups from TypeLocBuilder. They were a bit error prone, only hit in rare cases. 2011-03-22 01:15:21 +00:00