hanchenye-llvm-project/clang/lib/Sema
Richard Smith d86812d95c PR13273: When performing list-initialization with an empty initializer list,
actually perform value initialization rather than trying to fake it with a call
to the default constructor. Fixes various bugs related to the previously-missing
zero-initialization in this case.

I've also moved this and the other list initialization 'special case' from
TryConstructorInitialization into TryListInitialization where they belong.

llvm-svn: 159733
2012-07-05 08:39:21 +00:00
..
AnalysisBasedWarnings.cpp Thread safety analysis: fixed incorrect error message at the end of a locks_required function. 2012-07-02 22:16:54 +00:00
AttributeList.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
CMakeLists.txt Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
CodeCompleteConsumer.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
DeclSpec.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp Renamed RawComment kinds to avoid name clash. 2012-07-04 07:30:26 +00:00
SemaAccess.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaCast.cpp Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. 2012-06-16 02:19:17 +00:00
SemaChecking.cpp When a builtin that requires a constant is given a type- or 2012-06-29 01:05:22 +00:00
SemaCodeComplete.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp In blocks, only pretend that enum constants have enum type if necessary. 2012-07-02 21:19:23 +00:00
SemaDeclAttr.cpp Support the tls_model attribute (PR9788) 2012-06-23 11:51:46 +00:00
SemaDeclCXX.cpp Split out the "empty" case for compound statement into a separate ctor. 2012-07-04 17:03:41 +00:00
SemaDeclObjC.cpp Remove a redundant assignment to the FDecl variable from *inside* it's 2012-07-03 00:15:11 +00:00
SemaExceptionSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaExpr.cpp Rename -Wself-assign-memvar to -Wself-assign-field to improve local consistency a bit. 2012-07-03 02:03:06 +00:00
SemaExprCXX.cpp Teach the __is_trivially_assignable and __is_trivially_constructible 2012-06-29 00:49:17 +00:00
SemaExprMember.cpp objective-c: If an ivar is (1) the first ivar in a root class and (2) named `isa`, 2012-06-21 21:35:15 +00:00
SemaExprObjC.cpp Warn on weak properties declared in protocols as well. 2012-06-28 16:39:28 +00:00
SemaFixItUtils.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
SemaInit.cpp PR13273: When performing list-initialization with an empty initializer list, 2012-07-05 08:39:21 +00:00
SemaLambda.cpp Split out the "empty" case for compound statement into a separate ctor. 2012-07-04 17:03:41 +00:00
SemaLookup.cpp Add support for the C11 _Alignof keyword. 2012-06-30 21:33:57 +00:00
SemaObjCProperty.cpp fix a typo in my last commit. I thought I recompiled, 2012-06-29 19:05:11 +00:00
SemaOverload.cpp Unrevert r158887, reverted in r158949, along with a fix for the bug which 2012-06-25 20:30:08 +00:00
SemaPseudoObject.cpp Change warning to error when property setter names conflict. 2012-05-26 16:10:06 +00:00
SemaStmt.cpp objective-c: Refactor parse/sema portion of 2012-07-03 22:00:52 +00:00
SemaStmtAttr.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
SemaTemplate.cpp Documentation cleanup: 2012-06-15 22:23:43 +00:00
SemaTemplateDeduction.cpp Documentation cleanup: making \param docs match the code. 2012-06-22 10:16:05 +00:00
SemaTemplateInstantiate.cpp Be more eager about setting the 'Invalid' bit on an invalid class 2012-07-02 21:00:41 +00:00
SemaTemplateInstantiateDecl.cpp Make explicit specializations at class scope work 2012-06-25 17:21:05 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp Whitespace. 2012-06-26 21:41:40 +00:00
TargetAttributesSema.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
TargetAttributesSema.h
TreeTransform.h objective-c: Refactor parse/sema portion of 2012-07-03 22:00:52 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00