author | Richard Smith <richard-llvm@metafoo.co.uk> | |
Thu, 5 Oct 2017 00:43:38 +0000 (00:43 +0000) | ||
committer | Richard Smith <richard-llvm@metafoo.co.uk> | |
Thu, 5 Oct 2017 00:43:38 +0000 (00:43 +0000) | ||
commit | 79dee32466a86971634a0154dc4f630057f05c69 | |
tree | b09923d5cbb6fb9d528d8c203766b0d67904b7b5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 2c4bc52489de4075b24e275eec58f2ec4788666e | commit | diff |
Remove PendingBody mechanism for function and ObjC method deserialization.
In its place, track on the canonical function declaration whether there is a
declaration with a body (and if so, which one). This brings function definition
handling in line with what we do in all other contexts, and is necessary to
allow us to merge declarations within multiple definitions of the same function
(eg, PR33924).
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314955 91177308-0d34-0410-b5e6-96231b3b80d8
In its place, track on the canonical function declaration whether there is a
declaration with a body (and if so, which one). This brings function definition
handling in line with what we do in all other contexts, and is necessary to
allow us to merge declarations within multiple definitions of the same function
(eg, PR33924).
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314955 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h | diff | blob | history | |
lib/Serialization/ASTReader.cpp | diff | blob | history | |
lib/Serialization/ASTReaderDecl.cpp | diff | blob | history |