summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTCommon.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-02-17 20:05:37 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-02-17 20:05:37 +0000
commitbc491203c77d74b4190d0de4f2b047d731c0ddb2 (patch)
tree30e6e209c375d143ac7127727bf114c59bfe9bc6 /clang/lib/Serialization/ASTCommon.cpp
parente6c6a945ca93432c930cf255dbf55069377d4426 (diff)
downloadbcm5719-llvm-bc491203c77d74b4190d0de4f2b047d731c0ddb2.tar.gz
bcm5719-llvm-bc491203c77d74b4190d0de4f2b047d731c0ddb2.zip
Add an explicit derived class of FunctionDecl to model deduction guides rather
than just treating them as FunctionDecls with a funny name. No functionality change intended. llvm-svn: 295491
Diffstat (limited to 'clang/lib/Serialization/ASTCommon.cpp')
-rw-r--r--clang/lib/Serialization/ASTCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTCommon.cpp b/clang/lib/Serialization/ASTCommon.cpp
index 65792c7e4df..684ec243035 100644
--- a/clang/lib/Serialization/ASTCommon.cpp
+++ b/clang/lib/Serialization/ASTCommon.cpp
@@ -251,6 +251,7 @@ bool serialization::isRedeclarableDeclKind(unsigned Kind) {
case Decl::VarTemplateSpecialization:
case Decl::VarTemplatePartialSpecialization:
case Decl::Function:
+ case Decl::CXXDeductionGuide:
case Decl::CXXMethod:
case Decl::CXXConstructor:
case Decl::CXXDestructor:
OpenPOWER on IntegriCloud