summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2016-11-04 06:29:27 +0000
committerOlivier Goffart <ogoffart@woboq.com>2016-11-04 06:29:27 +0000
commitd211c648b901df63e7ff0f14fe393883a168b703 (patch)
treeed4a039c2a9915b7035adfde652877279042dc2b /clang/lib/Sema
parent6232e4d5d98bf37d9bfd049b4d34ca8912b45380 (diff)
downloadbcm5719-llvm-d211c648b901df63e7ff0f14fe393883a168b703.tar.gz
bcm5719-llvm-d211c648b901df63e7ff0f14fe393883a168b703.zip
[index] Expose FriendDecl
Differential Revision: https://reviews.llvm.org/D26285 llvm-svn: 285984
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaCodeComplete.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp
index f2b85b6da87..445b8b4597a 100644
--- a/clang/lib/Sema/SemaCodeComplete.cpp
+++ b/clang/lib/Sema/SemaCodeComplete.cpp
@@ -3100,6 +3100,7 @@ CXCursorKind clang::getCursorKindForDecl(const Decl *D) {
return CXCursor_ClassTemplatePartialSpecialization;
case Decl::UsingDirective: return CXCursor_UsingDirective;
case Decl::StaticAssert: return CXCursor_StaticAssert;
+ case Decl::Friend: return CXCursor_FriendDecl;
case Decl::TranslationUnit: return CXCursor_TranslationUnit;
case Decl::Using:
OpenPOWER on IntegriCloud