aboutsummaryrefslogtreecommitdiff
path: root/test/Index/code-completion.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-21 01:05:26 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-21 01:05:26 +0000
commite081a61bb0dc546fd623bf259435d17c9a4ea0d5 (patch)
tree726feb4ba5664d9f95d58e8f1a1638b3649317df /test/Index/code-completion.cpp
parent98c6bda3be11b78a10026f142a399aa1918900f2 (diff)
New libclang API to expose container type for code completion, from
Connor Wakamo! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/code-completion.cpp')
-rw-r--r--test/Index/code-completion.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Index/code-completion.cpp b/test/Index/code-completion.cpp
index f75d61f1b0..5789d3b9fa 100644
--- a/test/Index/code-completion.cpp
+++ b/test/Index/code-completion.cpp
@@ -54,6 +54,9 @@ Z::operator int() const {
// CHECK-MEMBER: CXXDestructor:{ResultType void}{TypedText ~Z}{LeftParen (}{RightParen )}
// CHECK-MEMBER: Completion contexts:
// CHECK-MEMBER-NEXT: Dot member access
+// CHECK-MEMBER-NEXT: Container Kind: StructDecl
+// CHECK-MEMBER-NEXT: Container is complete
+// CHECK-MEMBER-NEXT: Container USR: c:@S@Z
// CHECK-OVERLOAD: NotImplemented:{ResultType int &}{Text overloaded}{LeftParen (}{Text Z z}{Comma , }{CurrentParameter int second}{RightParen )}
// CHECK-OVERLOAD: NotImplemented:{ResultType float &}{Text overloaded}{LeftParen (}{Text int i}{Comma , }{CurrentParameter long second}{RightParen )}