reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Sema/Sema.h
 5782   DeclContext *computeDeclContext(const CXXScopeSpec &SS,

References

tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  401     LookupCtx = computeDeclContext(SS, false);
  510     LookupCtx = computeDeclContext(SS, EnteringContext);
 1074   DeclContext *DC = computeDeclContext(SS, true);
 1100   assert(!SS.isInvalid() && computeDeclContext(SS, true) &&
tools/clang/lib/Sema/SemaCodeComplete.cpp
 5368   DeclContext *Ctx = computeDeclContext(SS, /*EnteringContext=*/true);
tools/clang/lib/Sema/SemaDecl.cpp
  301     LookupCtx = computeDeclContext(*SS, false);
  693       } else if (DeclContext *DC = computeDeclContext(*SS, false)) {
  746   else if (DeclContext *DC = computeDeclContext(*SS, false))
  973                                     << Name << computeDeclContext(SS, false)
 5547     DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext);
 7079         << Name << computeDeclContext(D.getCXXScopeSpec(), true)
14866       DC = computeDeclContext(SS, false);
14872       DC = computeDeclContext(SS, true);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 2327     DeclContext *DC = computeDeclContext(*SS, true);
 2355     DeclContext *DC = computeDeclContext(*SS, true);
 3322       if (DeclContext *DC = computeDeclContext(SS, false))
 4124         DeclContext *DC = computeDeclContext(SS, false);
 9811     if (DeclContext *DC = S.computeDeclContext(SS, false)) {
10465   DeclContext *LookupContext = computeDeclContext(SS);
10777   DeclContext *NamedContext = computeDeclContext(SS);
14975     DC = computeDeclContext(SS);
tools/clang/lib/Sema/SemaExpr.cpp
 1889       SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false);
 2088                                   << Name << computeDeclContext(SS, false)
 2102       << Name << computeDeclContext(SS, false)
 2203     if (DeclContext *DC = computeDeclContext(SS, false)) {
 2414   DeclContext *DC = computeDeclContext(SS, false);
tools/clang/lib/Sema/SemaExprCXX.cpp
  190     DeclContext *DC = computeDeclContext(SS, EnteringContext);
  207       LookupCtx = computeDeclContext(PrefixSS, EnteringContext);
  213       LookupCtx = computeDeclContext(SS, EnteringContext);
  281         if (DeclContext *Ctx = computeDeclContext(SS, EnteringContext)) {
 7055         ((SS.isSet() && !computeDeclContext(SS, false)) ||
tools/clang/lib/Sema/SemaExprMember.cpp
  669     DC = SemaRef.computeDeclContext(SS, false);
 1008                        ? computeDeclContext(SS, false)
tools/clang/lib/Sema/SemaLookup.cpp
 2472     if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) {
 4882     QualifiedDC = computeDeclContext(*SS, EnteringContext);
tools/clang/lib/Sema/SemaTemplate.cpp
  311       computeDeclContext(*SS))
  374     LookupCtx = computeDeclContext(SS, EnteringContext);
 1385     SemanticContext = computeDeclContext(SS, true);
 2624               = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true)))
 3453     DeclContext *LookupCtx = computeDeclContext(SS, /*EnteringContext*/false);
 4336   if (!(DC = computeDeclContext(SS, false)) ||
 4392     LookupCtx = computeDeclContext(SS, EnteringContext);
 9853         dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, false));
 9975   DeclContext *Ctx = computeDeclContext(SS);
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 1353       DC = SemaRef.computeDeclContext(SS);
 1825     DC = SemaRef.computeDeclContext(SS);
 2137       DC = SemaRef.computeDeclContext(SS);
tools/clang/lib/Sema/SemaType.cpp
 4970                  dyn_cast_or_null<CXXRecordDecl>(S.computeDeclContext(SS))) {
 5101       DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec());
tools/clang/lib/Sema/TreeTransform.h
 1049       if (!SemaRef.computeDeclContext(SS))
 1081     DeclContext *DC = SemaRef.computeDeclContext(SS, false);
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  117         DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext);
  159         DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext);