Home | History | Annotate | Download | only in AST

Lines Matching defs:Ctx

47 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx)
49 DeclContext(TranslationUnit), Ctx(ctx), AnonymousNamespace(nullptr) {
50 Hidden = Ctx.getLangOpts().ModulesLocalVisibility;
1408 const DeclContext *Ctx = getDeclContext();
1410 if (Ctx->isFunctionOrMethod()) {
1419 while (Ctx && isa<NamedDecl>(Ctx)) {
1420 Contexts.push_back(Ctx);
1421 Ctx = Ctx->getParent();
2530 ASTContext &Ctx = getASTContext();
2531 if (Ctx.getLangOpts().SizedDeallocation &&
2532 Ctx.hasSameType(Ty, Ctx.getSizeType()))
3357 unsigned FieldDecl::getBitWidthValue(const ASTContext &Ctx) const {
3360 return BitWidth->EvaluateKnownConstInt(Ctx).getZExtValue();