llvm-project/clang/lib
Richard Smith b6070db0d0 DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard
layout" rules.

The new rules say that a standard-layout struct has its first non-static
data member and all base classes at offset 0, and consider a class to
not be standard-layout if that would result in multiple subobjects of a
single type having the same address.

We track "is C++11 standard-layout class" separately from "is
standard-layout class" so that the ABIs that need this information can
still use it.

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

llvm-svn: 329332
2018-04-05 18:55:37 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
ASTMatchers [astmatchers] Fix linking issue 2018-03-29 02:47:28 +00:00
Analysis Fix unused variable warning introduced at revision 328910. 2018-04-02 12:04:37 +00:00
Basic [PATCH] [RISCV] Extend getTargetDefines for RISCVTargetInfo 2018-04-05 12:54:00 +00:00
CodeGen [ObjC] Use the name specified by objc_runtime_name instead of the class 2018-04-03 22:50:16 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver Disable -fmerge-all-constants as default. 2018-04-05 15:29:52 +00:00
Edit [Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-27 00:01:49 +00:00
Format [clang-format] Support lightweight Objective-C generics 2018-04-05 15:26:25 +00:00
Frontend Disable -fmerge-all-constants as default. 2018-04-05 15:29:52 +00:00
FrontendTool Make a build bot happy. 2018-02-10 14:26:53 +00:00
Headers [DOXYGEN] Fix doxygen and content issues in mmintrin.h 2018-03-09 00:38:51 +00:00
Index [Index] fix USR generation for namespace{extern{X}} 2018-02-02 14:13:37 +00:00
Lex Add the -fsanitize=shadow-call-stack flag 2018-04-03 22:33:53 +00:00
Parse [ast] Do not auto-initialize Objective-C for-loop variables in Objective-C++ in templatized code under ARC 2018-03-29 00:56:24 +00:00
Rewrite [Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-27 00:01:49 +00:00
Sema Remove the temporary availability checking workaround for 2018-04-05 18:12:06 +00:00
Serialization DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
StaticAnalyzer Make helpers static. NFC. 2018-04-04 11:45:11 +00:00
Tooling [clang] Change std::sort to llvm::sort in response to r327219 2018-03-27 16:50:00 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00