]> granicus.if.org Git - clang/commit
Remove PendingBody mechanism for function and ObjC method deserialization.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Oct 2017 00:43:38 +0000 (00:43 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Oct 2017 00:43:38 +0000 (00:43 +0000)
commit79dee32466a86971634a0154dc4f630057f05c69
treeb09923d5cbb6fb9d528d8c203766b0d67904b7b5
parent2c4bc52489de4075b24e275eec58f2ec4788666e
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
include/clang/Serialization/ASTReader.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp