diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-11 18:44:16 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-11 18:44:16 +0000 |
commit | 0f622367d374eb254f18d99fab22a4cc2688f0f9 (patch) | |
tree | 68eba49684dd7a0738d3908ee2335347f0373a49 /clang/test/CodeCompletion | |
parent | 800f2f0ff032b1f6994456ae01e31ac0778d00de (diff) | |
download | bcm5719-llvm-0f622367d374eb254f18d99fab22a4cc2688f0f9.tar.gz bcm5719-llvm-0f622367d374eb254f18d99fab22a4cc2688f0f9.zip |
Add a function's cv-qualifiers to the code-completion results as an
informative chunk.
llvm-svn: 91139
Diffstat (limited to 'clang/test/CodeCompletion')
-rw-r--r-- | clang/test/CodeCompletion/member-access.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeCompletion/member-access.cpp b/clang/test/CodeCompletion/member-access.cpp index 6fefb64c705..d03180b182d 100644 --- a/clang/test/CodeCompletion/member-access.cpp +++ b/clang/test/CodeCompletion/member-access.cpp @@ -11,7 +11,7 @@ struct Base2 { struct Base3 : Base1, Base2 { void memfun1(float); - void memfun1(double); + void memfun1(double) const; void memfun2(int); }; @@ -34,7 +34,7 @@ void test(const Proxy &p) { // CHECK-CC1: member3 : 0 // CHECK-CC1: member4 : 0 // CHECK-CC1: memfun1 : 0 : [#Base3::#]memfun1(<#float#>) - // CHECK-CC1: memfun1 : 0 : [#Base3::#]memfun1(<#double#>) + // CHECK-CC1: memfun1 : 0 : [#Base3::#]memfun1(<#double#>)[# const#] // CHECK-CC1: memfun2 : 0 : [#Base3::#]memfun2(<#int#>) // CHECK-CC1: memfun3 : 0 : memfun3(<#int#>) // CHECK-CC1: memfun1 : 0 (Hidden) : Base2::memfun1(<#int#>) |