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

References

tools/clang/include/clang/Sema/DeclSpec.h
 2482     return getContext() == DeclaratorContext::MemberContext &&
tools/clang/lib/Parse/ParseDecl.cpp
 2384         if (D.getContext() == DeclaratorContext::ForContext ||
 2385             D.getContext() == DeclaratorContext::InitStmtContext)
 5532         D.getContext() == DeclaratorContext::FileContext ||
 5533         D.getContext() == DeclaratorContext::MemberContext;
 5581   if (!isPtrOperatorToken(Kind, getLangOpts(), D.getContext())) {
 5599                     ((D.getContext() != DeclaratorContext::CXXNewContext)
 5749         *this, D.getContext() == DeclaratorContext::MemberContext ||
 5750                    (D.getContext() == DeclaratorContext::ForContext &&
 5756           D.getContext() == DeclaratorContext::FileContext ||
 5757           D.getContext() == DeclaratorContext::MemberContext;
 5786         !((D.getContext() == DeclaratorContext::PrototypeContext ||
 5787            D.getContext() == DeclaratorContext::LambdaExprParameterContext ||
 5788            D.getContext() == DeclaratorContext::BlockLiteralContext) &&
 5794       if (isPtrOperatorToken(Tok.getKind(), getLangOpts(), D.getContext())) {
 5820           (D.getContext() == DeclaratorContext::FileContext ||
 5821            D.getContext() == DeclaratorContext::MemberContext);
 5825             (D.getContext() == DeclaratorContext::MemberContext);
 5827           (D.getContext() == DeclaratorContext::FileContext ||
 5828            D.getContext() == DeclaratorContext::MemberContext);
 5883     else if (D.getContext() == DeclaratorContext::TemplateArgContext)
 5887     else if (D.getContext() == DeclaratorContext::AliasDeclContext ||
 5888              D.getContext() == DeclaratorContext::AliasTemplateContext)
 5891     else if ((D.getContext() == DeclaratorContext::TrailingReturnContext ||
 5892               D.getContext() == DeclaratorContext::TrailingReturnVarContext) &&
 5951     if (D.getContext() == DeclaratorContext::MemberContext) {
 6328         (D.getContext() == DeclaratorContext::MemberContext
 6330          : D.getContext() == DeclaratorContext::FileContext &&
 6601         DS, D.getContext() == DeclaratorContext::LambdaExprContext
 6646         if (D.getContext() == DeclaratorContext::MemberContext) {
 6856   Declarator TempDeclarator(D.getDeclSpec(), D.getContext());
tools/clang/lib/Sema/DeclSpec.cpp
  397   assert(getContext() == DeclaratorContext::MemberContext);
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4945     if (D.getContext() == DeclaratorContext::MemberContext &&
tools/clang/lib/Sema/SemaDeclCXX.cpp
  712            : D.getContext() == DeclaratorContext::ConditionContext
tools/clang/lib/Sema/SemaExpr.cpp
14114   assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteralContext);
tools/clang/lib/Sema/SemaType.cpp
   50   if (D.getContext() != DeclaratorContext::BlockLiteralContext ||
 1327         declarator.getContext() == DeclaratorContext::LambdaExprContext) {
 1331     } else if (declarator.getContext() ==
 1683   if (declarator.getContext() == DeclaratorContext::BlockLiteralContext)
 2965     switch (D.getContext()) {
 3143                D.getContext() != DeclaratorContext::LambdaExprContext) {
 3147                    D.getContext() ==
 3162     switch (D.getContext()) {
 3254   if (D.getContext() == DeclaratorContext::ConditionContext)
 3370       if (D.getContext() == DeclaratorContext::CXXNewContext)
 3487     } else if (D.getContext() == DeclaratorContext::LambdaExprContext) {
 4031     D.getContext() == DeclaratorContext::AliasDeclContext ||
 4032     D.getContext() == DeclaratorContext::AliasTemplateContext;
 4160     switch (auto context = state.getDeclarator().getContext()) {
 4495               D.getContext() == DeclaratorContext::KNRTypeListContext)) {
 4520           D.getContext() != DeclaratorContext::LambdaExprParameterContext) {
 4583           } else if (D.getContext() != DeclaratorContext::LambdaExprContext &&
 4613             D.getContext() == DeclaratorContext::BlockLiteralContext)
 4754             << (D.getContext() == DeclaratorContext::AliasDeclContext ||
 4755                 D.getContext() == DeclaratorContext::AliasTemplateContext);
 4929                  state.getDeclarator().getContext() ==
 5096       if ((D.getContext() == DeclaratorContext::MemberContext ||
 5097            D.getContext() == DeclaratorContext::LambdaExprContext) &&
 5126         D.getContext() != DeclaratorContext::TemplateArgContext &&
 5127         D.getContext() != DeclaratorContext::TemplateTypeArgContext) {
 5189       (D.getContext() == DeclaratorContext::PrototypeContext ||
 5190        D.getContext() == DeclaratorContext::LambdaExprParameterContext))
 5200     switch (D.getContext()) {
 5866   if (D.getContext() != DeclaratorContext::ObjCParameterContext &&
 5867       D.getContext() != DeclaratorContext::AliasDeclContext &&
 5868       D.getContext() != DeclaratorContext::AliasTemplateContext)
 7420       (D.getContext() == DeclaratorContext::MemberContext &&
 7425       (D.getContext() == DeclaratorContext::AliasDeclContext && !IsPointee) ||
 7455       (D.getContext() == DeclaratorContext::FileContext && T->isSamplerT()))
 7480       if (D.getContext() == DeclaratorContext::TemplateArgContext) {
 7482       } else if (D.getContext() == DeclaratorContext::FileContext) {