From 0348cfe40e6ee913e81b65e2d353db5f6d66281d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 17 Feb 2017 20:05:37 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295491 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/libclang/CIndex.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 673d96374b..216322b9f9 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -5782,6 +5782,7 @@ CXCursor clang_getCursorDefinition(CXCursor C) { case Decl::OMPCapturedExpr: case Decl::Label: // FIXME: Is this right?? case Decl::ClassScopeFunctionSpecialization: + case Decl::CXXDeductionGuide: case Decl::Import: case Decl::OMPThreadPrivate: case Decl::OMPDeclareReduction: -- cgit v1.2.3