diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-26 16:39:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-26 16:39:56 +0000 |
commit | 9ae3956f223b3f7961ffcca8da7f1a1b1f6585d7 (patch) | |
tree | c9a8e45c2fcb61a3ffb2637ab2a674676a23b313 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 39a76387e027054929cc893b475ed3d47e1fd1dc (diff) | |
download | bcm5719-llvm-9ae3956f223b3f7961ffcca8da7f1a1b1f6585d7.tar.gz bcm5719-llvm-9ae3956f223b3f7961ffcca8da7f1a1b1f6585d7.zip |
[libclang] Remove the ParentKind cursor kind from code-completion results.
This is to reduce dependency to cursors for the code-completion results.
llvm-svn: 164705
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index a3a0cd5673d..e0659042716 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -2483,7 +2483,6 @@ CodeCompletionResult::CreateCodeCompletionString(ASTContext &Ctx, if (Declaration) { Result.addParentContext(Declaration->getDeclContext()); - Pattern->ParentKind = Result.getParentKind(); Pattern->ParentName = Result.getParentName(); } |