diff options
| author | Eric Liu <ioeric@google.com> | 2018-10-02 10:29:00 +0000 |
|---|---|---|
| committer | Eric Liu <ioeric@google.com> | 2018-10-02 10:29:00 +0000 |
| commit | b91e08197cf74c1c2d92f0fc112e941f8ef883a1 (patch) | |
| tree | cb19afb931facbf4ed2947466f97bb70139c2079 /clang/test/Index/complete-access-checks.cpp | |
| parent | b9e17124ea24d7e83ddae68f8e05f632e7b7a28a (diff) | |
| download | bcm5719-llvm-b91e08197cf74c1c2d92f0fc112e941f8ef883a1.tar.gz bcm5719-llvm-b91e08197cf74c1c2d92f0fc112e941f8ef883a1.zip | |
[CodeComplete] Re-fix accessibilty of protected members from base class.
Summary:
The initial fix (r337453) had bug and was partially reverted (r338255).
This simplies the original fix by explicitly passing the naming class to the
completion consumer.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D52647
llvm-svn: 343575
Diffstat (limited to 'clang/test/Index/complete-access-checks.cpp')
| -rw-r--r-- | clang/test/Index/complete-access-checks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/complete-access-checks.cpp b/clang/test/Index/complete-access-checks.cpp index 54d9640f6f5..065008e3209 100644 --- a/clang/test/Index/complete-access-checks.cpp +++ b/clang/test/Index/complete-access-checks.cpp @@ -36,10 +36,10 @@ void Y::doSomething() { // CHECK-SUPER-ACCESS: CXXMethod:{ResultType void}{TypedText doSomething}{LeftParen (}{RightParen )} (34) // CHECK-SUPER-ACCESS: CXXMethod:{ResultType void}{Informative X::}{TypedText func1}{LeftParen (}{RightParen )} (36) -// CHECK-SUPER-ACCESS: CXXMethod:{ResultType void}{Informative X::}{TypedText func2}{LeftParen (}{RightParen )} (36) +// CHECK-SUPER-ACCESS: CXXMethod:{ResultType void}{Informative X::}{TypedText func2}{LeftParen (}{RightParen )} (36){{$}} // CHECK-SUPER-ACCESS: CXXMethod:{ResultType void}{Informative X::}{TypedText func3}{LeftParen (}{RightParen )} (36) (inaccessible) // CHECK-SUPER-ACCESS: FieldDecl:{ResultType int}{Informative X::}{TypedText member1} (37) -// CHECK-SUPER-ACCESS: FieldDecl:{ResultType int}{Informative X::}{TypedText member2} (37) +// CHECK-SUPER-ACCESS: FieldDecl:{ResultType int}{Informative X::}{TypedText member2} (37){{$}} // CHECK-SUPER-ACCESS: FieldDecl:{ResultType int}{Informative X::}{TypedText member3} (37) (inaccessible) // CHECK-SUPER-ACCESS: CXXMethod:{ResultType Y &}{TypedText operator=}{LeftParen (}{Placeholder const Y &}{RightParen )} (79) // CHECK-SUPER-ACCESS: CXXMethod:{ResultType X &}{Text X::}{TypedText operator=}{LeftParen (}{Placeholder const X &}{RightParen )} (81) |

