diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-02-17 20:05:37 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-02-17 20:05:37 +0000 |
commit | 0348cfe40e6ee913e81b65e2d353db5f6d66281d (patch) | |
tree | b792f599a95e9e9c99eafb9d341efb9c07a208cb /tools | |
parent | 71b73d0a5c75298cd26bb44ef502dbe77fbe1289 (diff) |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CIndex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: |