aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
diff options
context:
space:
mode:
authorPuyan Lotfi <puyan@puyan.org>2019-11-26 13:02:18 -0500
committerPuyan Lotfi <puyan@puyan.org>2019-12-04 19:10:47 -0500
commit07e445103e363c85ce7313c542dee20b2294fe72 (patch)
treef5efcba983acb7e302094849075184b1377e73f6 /clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
parente1a7d042c36509a385668ee04ddb3dad3241f503 (diff)
downloadllvm-07e445103e363c85ce7313c542dee20b2294fe72.zip
llvm-07e445103e363c85ce7313c542dee20b2294fe72.tar.gz
llvm-07e445103e363c85ce7313c542dee20b2294fe72.tar.bz2
[clang][IFS] Adding support for new clang interface stubs decl types.
NamespaceAliasDecl UnresolvedUsingTypenameDecl CXXDeductionGuideDecl ConstructorUsingShadowDecl Differential Revision: https://reviews.llvm.org/D70728
Diffstat (limited to 'clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp')
-rw-r--r--clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp b/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
index 025e6eb..3b0a566 100644
--- a/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
+++ b/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
@@ -195,6 +195,10 @@ class InterfaceStubFunctionsConsumer : public ASTConsumer {
case Decl::Kind::TemplateTemplateParm:
case Decl::Kind::ClassTemplatePartialSpecialization:
case Decl::Kind::IndirectField:
+ case Decl::Kind::ConstructorUsingShadow:
+ case Decl::Kind::CXXDeductionGuide:
+ case Decl::Kind::NamespaceAlias:
+ case Decl::Kind::UnresolvedUsingTypename:
return true;
case Decl::Kind::Var: {
// Bail on any VarDecl that either has no named symbol.