mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 09:56:33 +00:00

members found in base classes have the same ranking as members found in derived classes. However, we will introduce an informative note for members found in base classes, showing (as a nested-name-specifier) the qualification to name the base class, to make it clear which members are from bases. llvm-svn: 82586
22 lines
434 B
C++
22 lines
434 B
C++
namespace N4 {
|
|
namespace N3 { }
|
|
}
|
|
|
|
class N3;
|
|
|
|
namespace N2 {
|
|
namespace I1 { }
|
|
namespace I4 = I1;
|
|
namespace I5 { }
|
|
namespace I1 { }
|
|
|
|
void foo() {
|
|
using namespace
|
|
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s &&
|
|
// CHECK-CC1: I1 : 2
|
|
// CHECK-CC1: I4 : 2
|
|
// CHECK-CC1: I5 : 2
|
|
// CHECK-CC1: N2 : 4
|
|
// CHECK-NEXT-CC1: N4 : 4
|
|
// RUN: true
|