llvm-project/clang/lib
David Majnemer b00ddf31b2 CodeGen: Use the initing member's type for a union's storage type more often
Unions are initialized with the default initialization of their first
named member.  If that member is not zero initialized, then we should
prefer that member's type.  Otherwise, we might try to make an otherwise
unsuitable type (like an array) which we cannot easily initialize with a
pointer to member.

llvm-svn: 219781
2014-10-15 07:57:41 +00:00
..
ARCMigrate Objective-C SDK modernization. import Foundation even 2014-10-09 22:04:27 +00:00
AST Factor code into CXXRecordDecl::getTemplateInstantiationPattern() helper 2014-10-14 20:28:40 +00:00
ASTMatchers Fix order of evaluation bug in DynTypedMatcher::constructVariadic(). 2014-10-13 18:17:11 +00:00
Analysis [Analysis] Add missing newlines at end of file. 2014-10-09 20:34:45 +00:00
Basic ARM: remove ARM/Thumb distinction for preferred alignment. 2014-10-14 22:12:21 +00:00
CodeGen CodeGen: Use the initing member's type for a union's storage type more often 2014-10-15 07:57:41 +00:00
Driver clang-cl: Diagnose the usage of ASAN with a debug runtime library 2014-10-14 23:15:44 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format clang-format: [ObjC] Wrap ObjC method declarations before annotations. 2014-10-11 08:24:56 +00:00
Frontend Frontend: Don't accept null DiagnosticsEngines when building ASTUnits 2014-10-15 00:33:06 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers vadefs.h: be even more conservative and only define the macros if already defined 2014-10-14 23:20:25 +00:00
Index Format: ArrayRefize some implicit copies away. 2014-10-03 18:52:48 +00:00
Lex Fix the build 2014-10-13 22:18:22 +00:00
Parse Be smarter when parsing variable declarations with unknown types. 2014-10-14 21:57:21 +00:00
Rewrite Use intrusive refcounted pointers to manage RopeRefCountString lifetime. 2014-09-15 17:58:03 +00:00
Sema Improvements to -Wnull-conversion 2014-10-15 03:42:06 +00:00
Serialization [modules] Merging for class-scope using-declarations. 2014-10-14 02:00:47 +00:00
StaticAnalyzer [analyzer] Check all 'nonnull' attributes, not just the first one. 2014-10-13 19:38:02 +00:00
Tooling Driver: Use pointee_iterator rather than iterating over unique_ptrs 2014-10-03 01:04:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00