llvm-project/clang/lib/Serialization
Faisal Vali 1f3a2af902 Adjust r316292 - remove the anonymous union for sharing a bitfield in FunctionDecl.
The anonymous union did NOT save us storage, but instead behaved as if we added an additional integer data member to FunctionDecl.  

For additional context, the anonymous union renders the bit fields as non-adjacent and prevents them from sharing the same 'memory location' (i.e. bit-storage) by requiring the anonymous union object to be appropriately aligned.

This was confirmed through discussion with Richard Smith in Albuquerque (ISO C++ Meeting)

https://reviews.llvm.org/rL316292

llvm-svn: 317984
2017-11-11 18:02:29 +00:00
..
ASTCommon.cpp Revert r314955: "Remove PendingBody mechanism for function and ObjC method deserialization." 2017-10-11 07:47:54 +00:00
ASTCommon.h PR29097: add an update record when we instantiate the default member 2016-08-24 21:25:37 +00:00
ASTReader.cpp [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-08 01:03:16 +00:00
ASTReaderDecl.cpp Adjust r316292 - remove the anonymous union for sharing a bitfield in FunctionDecl. 2017-11-11 18:02:29 +00:00
ASTReaderInternals.h [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-11 00:08:50 +00:00
ASTReaderStmt.cpp [OPENMP] Capture argument of `device` clause for target-based 2017-10-02 16:32:39 +00:00
ASTWriter.cpp [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-11 00:08:50 +00:00
ASTWriterDecl.cpp Adjust r316292 - remove the anonymous union for sharing a bitfield in FunctionDecl. 2017-11-11 18:02:29 +00:00
ASTWriterStmt.cpp [OPENMP] Capture argument of `device` clause for target-based 2017-10-02 16:32:39 +00:00
CMakeLists.txt Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GeneratePCH.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
GlobalModuleIndex.cpp [modules] Add ability to specify module name to module file mapping (reapply) 2017-08-31 06:26:43 +00:00
Module.cpp Modules: Simplify the ModuleFile constructor; likely NFC 2017-01-29 00:39:09 +00:00
ModuleFileExtension.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ModuleManager.cpp [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-11 00:08:50 +00:00
MultiOnDiskHashTable.h [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-02 21:45:30 +00:00