diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-11 05:45:24 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-11 05:45:24 +0000 |
commit | 1fa5d64b7687858bc1e48f3bc87026d6e38d5395 (patch) | |
tree | cc54bab302f11a2e6006983f23b6e3939b1a085c /clang/lib/Serialization/ASTCommon.h | |
parent | 2e56a2545eb8bef39b1190f5667d84c12329c312 (diff) | |
download | bcm5719-llvm-1fa5d64b7687858bc1e48f3bc87026d6e38d5395.tar.gz bcm5719-llvm-1fa5d64b7687858bc1e48f3bc87026d6e38d5395.zip |
C++1y deduced return types: when we deduce a return type for a function which
we loaded from PCH, if we're building another PCH, create an update record to
patch the return type of the earlier declaration.
llvm-svn: 181659
Diffstat (limited to 'clang/lib/Serialization/ASTCommon.h')
-rw-r--r-- | clang/lib/Serialization/ASTCommon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTCommon.h b/clang/lib/Serialization/ASTCommon.h index 76ef9040461..fa3ef58a1c0 100644 --- a/clang/lib/Serialization/ASTCommon.h +++ b/clang/lib/Serialization/ASTCommon.h @@ -25,7 +25,8 @@ enum DeclUpdateKind { UPD_CXX_ADDED_IMPLICIT_MEMBER, UPD_CXX_ADDED_TEMPLATE_SPECIALIZATION, UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, - UPD_CXX_INSTANTIATED_STATIC_DATA_MEMBER + UPD_CXX_INSTANTIATED_STATIC_DATA_MEMBER, + UPD_CXX_DEDUCED_RETURN_TYPE }; TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); |