llvm-project/clang/lib/Serialization
Hans Wennborg d3ea49f094 Revert r336021 "PR33924: merge local declarations that have linkage of some kind within"
This caused test failures in 32-bit builds (PR38015).

> merged function definitions; also merge functions with deduced return
> types.
>
> This seems like two independent fixes, but unfortunately they are hard
> to separate because it's challenging to reliably test either one of them
> without also testing the other.
>
> A complication arises with deduced return type support: we need the type
> of the function in order to know how to merge it, but we can't load the
> actual type of the function because it might reference an entity
> declared within the function (and we need to have already merged the
> function to correctly merge that entity, which we would need to do to
> determine if the function types match). So we instead compare the
> declared function type when merging functions, and defer loading the
> actual type of a function with a deduced type until we've finished
> loading and merging the function.

llvm-svn: 336175
2018-07-03 07:51:41 +00:00
..
ASTCommon.cpp Revert r336021 "PR33924: merge local declarations that have linkage of some kind within" 2018-07-03 07:51:41 +00:00
ASTCommon.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ASTReader.cpp [modules] Emit the type of the TypeSourceInfo for a DeclaratorDecl (but 2018-06-29 20:46:25 +00:00
ASTReaderDecl.cpp Revert r336021 "PR33924: merge local declarations that have linkage of some kind within" 2018-07-03 07:51:41 +00:00
ASTReaderInternals.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ASTReaderStmt.cpp [Fixed Point Arithmetic] Fixed Point Precision Bits and Fixed Point Literals 2018-06-20 17:19:40 +00:00
ASTWriter.cpp [modules] Emit the type of the TypeSourceInfo for a DeclaratorDecl (but 2018-06-29 20:46:25 +00:00
ASTWriterDecl.cpp [modules] Emit the type of the TypeSourceInfo for a DeclaratorDecl (but 2018-06-29 20:46:25 +00:00
ASTWriterStmt.cpp [Fixed Point Arithmetic] Fixed Point Precision Bits and Fixed Point Literals 2018-06-20 17:19:40 +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 Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
Module.cpp [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-04-11 20:57:28 +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 Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00