Searched refs:Ctx (Results 151 - 175 of 421) sorted by relevance

1234567891011>>

/external/clang/lib/Sema/
H A DSemaLookup.cpp113 DeclContext *Ctx = S->getEntity(); local
114 if (Ctx && Ctx->isFileContext()) {
115 visit(Ctx, Ctx);
116 } else if (!Ctx || Ctx->isFunctionOrMethod()) {
782 if (DeclContext *Ctx = S->getEntity())
783 return Ctx->isFileContext();
925 DeclContext *Ctx local
1110 DeclContext *Ctx = S->getEntity(); local
1931 CollectEnclosingNamespace(Sema::AssociatedNamespaceSet &Namespaces, DeclContext *Ctx) argument
1975 DeclContext *Ctx = ClassTemplate->getDeclContext(); local
2047 DeclContext *Ctx = Spec->getSpecializedTemplate()->getDeclContext(); local
2167 DeclContext *Ctx = Enum->getDeclContext(); local
2892 visitedContext(DeclContext *Ctx) argument
2896 alreadyVisitedContext(DeclContext *Ctx) argument
2974 LookupVisibleDecls(DeclContext *Ctx, LookupResult &Result, bool QualifiedNameLookup, bool InBaseClass, VisibleDeclConsumer &Consumer, VisibleDeclsRecord &Visited) argument
3218 LookupVisibleDecls(DeclContext *Ctx, LookupNameKind Kind, VisibleDeclConsumer &Consumer, bool IncludeGlobalScope) argument
3475 FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, bool InBaseClass) argument
3671 DeclContext *Ctx = NSI.DeclCtx; local
3821 addNameSpecifier( DeclContext *Ctx) argument
[all...]
H A DIdentifierResolver.cpp94 /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
97 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S, argument
99 Ctx = Ctx->getRedeclContext();
101 if (Ctx->isFunctionOrMethod() || S->isFunctionPrototypeScope()) {
134 return AllowInlineNamespace ? Ctx->InEnclosingNamespaceSetOf(DCtx)
135 : Ctx->Equals(DCtx);
/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp74 PoolII = &pass.Ctx.Idents.get("NSAutoreleasePool");
75 DrainSel = pass.Ctx.Selectors.getNullarySelector(
76 &pass.Ctx.Idents.get("drain"));
132 Pass.Ctx);
249 ASTContext &Ctx; member in class:__anon17693::AutoreleasePoolRewriter::NameReferenceChecker
257 : Ctx(ctx), referenceLoc(referenceLoc),
289 SourceManager &SM = Ctx.getSourceManager();
310 findLocationAfterSemi(retS->getLocEnd(), Pass.Ctx).isValid()) {
316 nameUsedOutsideScope = !NameReferenceChecker(Pass.Ctx, scope,
434 trans.TraverseDecl(pass.Ctx
[all...]
H A DTransGCAttrs.cpp92 ASTContext &Ctx = MigrateCtx.Pass.Ctx;
93 SourceManager &SM = Ctx.getSourceManager();
100 Buf, SM, Ctx.getLangOpts(), &Invalid);
177 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
209 if (!canApplyWeak(MigrateCtx.Pass.Ctx, Attr.ModifiedType,
276 if (canApplyWeak(MigrateCtx.Pass.Ctx, IndProps.front()->getType(),
291 Loc = MigrateCtx.Pass.Ctx.getSourceManager()
330 MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
344 Attr.Loc.dump(Pass.Ctx
[all...]
H A DTransRetainReleaseDealloc.cpp49 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate"));
51 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
148 str += getNilString(Pass.Ctx);
153 if (!hasSideEffects(rec, Pass.Ctx)) {
336 SourceManager &SM = Pass.Ctx.getSourceManager();
338 Pass.Ctx.getLangOpts());
464 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransforms.h160 bool canApplyWeak(ASTContext &Ctx, QualType type,
170 SourceLocation findLocationAfterSemi(SourceLocation loc, ASTContext &Ctx,
177 SourceLocation findSemiAfterLocation(SourceLocation loc, ASTContext &Ctx,
180 bool hasSideEffects(Expr *E, ASTContext &Ctx);
183 StringRef getNilString(ASTContext &Ctx);
H A DTransBlockObjCVariable.cpp140 bool useWeak = canApplyWeak(Pass.Ctx, var->getType());
141 SourceManager &SM = Pass.Ctx.getSourceManager();
/external/clang/tools/libclang/
H A DCIndexHigh.cpp188 ASTContext &Ctx = data->getASTContext(); local
189 SourceManager &SM = Ctx.getSourceManager();
209 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
283 ASTContext &Ctx = data->getASTContext(); local
284 SourceManager &SM = Ctx.getSourceManager();
304 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
361 ASTContext &Ctx = getASTContext(); local
362 SourceManager &SM = Ctx.getSourceManager();
370 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
H A DCXType.cpp104 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); local
105 if (Ctx.getLangOpts().ObjC1) {
107 if (Ctx.isObjCIdType(UnqualT))
109 else if (Ctx.isObjCClassType(UnqualT))
111 else if (Ctx.isObjCSelType(UnqualT))
699 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext();
713 return Ctx.getTypeAlignInChars(QT).getQuantity();
730 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext();
752 return Ctx.getTypeSizeInChars(QT).getQuantity();
801 ASTContext &Ctx
851 ASTContext &Ctx = cxcursor::getCursorContext(C); local
[all...]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp158 MCContext &Ctx, MCAsmBackend &MAB,
165 MCStreamer *S = createMachOStreamer(Ctx, MAB, OS, Emitter, RelaxAll);
171 createELFStreamer(Ctx, MAB, OS, Emitter, RelaxAll, NoExecStack);
177 createMCAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS, argument
183 Ctx, OS, isVerboseAsm, useDwarfDirectory, InstPrint, CE, TAB, ShowInst);
157 createMCStreamer(const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &OS, MCCodeEmitter *Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack) argument
H A DPPCMCExpr.cpp22 bool isDarwin, MCContext &Ctx) {
23 return new (Ctx) PPCMCExpr(Kind, Expr, isDarwin);
21 Create(VariantKind Kind, const MCExpr *Expr, bool isDarwin, MCContext &Ctx) argument
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp36 MCContext &Ctx; member in class:__anon26137::SparcMCCodeEmitter
39 SparcMCCodeEmitter(MCContext &ctx): Ctx(ctx) {}
78 MCContext &Ctx) {
79 return new SparcMCCodeEmitter(Ctx);
119 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg());
75 createSparcMCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI, MCContext &Ctx) argument
/external/clang/lib/AST/
H A DExprConstant.cpp115 unsigned findMostDerivedSubobject(ASTContext &Ctx, QualType Base, argument
123 cast<ConstantArrayType>(Ctx.getAsArrayType(Type));
182 SubobjectDesignator(ASTContext &Ctx, const APValue &V) argument
191 findMostDerivedSubobject(Ctx, getType(V.getLValueBase()),
417 ASTContext &Ctx; member in struct:__anon17734::EvalInfo
510 : Ctx(const_cast<ASTContext &>(C)), EvalStatus(S), CurrentCall(nullptr),
523 const LangOptions &getLangOpts() const { return Ctx.getLangOpts(); }
564 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator());
603 unsigned Limit = Ctx.getDiagnostics().getConstexprBacktraceLimit();
936 void setFrom(ASTContext &Ctx, cons argument
[all...]
/external/clang/include/clang/AST/
H A DNSAPI.h25 explicit NSAPI(ASTContext &Ctx);
27 ASTContext &getASTContext() const { return Ctx; }
194 ASTContext &Ctx; member in class:clang::NSAPI
H A DRecordLayout.h138 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment,
145 ASTRecordLayout(const ASTContext &Ctx,
164 void Destroy(ASTContext &Ctx);
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp78 void Initialize(ASTContext &Ctx) override {
79 Context = &Ctx;
84 Gen->Initialize(Ctx);
163 LLVMContext &Ctx = TheModule->getContext(); variable
165 Ctx.getInlineAsmDiagnosticHandler();
166 void *OldContext = Ctx.getInlineAsmDiagnosticContext();
167 Ctx.setInlineAsmDiagnosticHandler(InlineAsmDiagHandler, this);
170 Ctx.getDiagnosticHandler();
171 void *OldDiagnosticContext = Ctx.getDiagnosticContext();
172 Ctx
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp532 ASTContext &Ctx = C.getASTContext(); local
538 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
549 if (CanRetTy != Ctx.VoidTy && C.getLocationContext()->getParentMap()
552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
553 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
557 !(supportsNilWithFloatRet(Ctx.getTargetInfo().getTriple()) &&
558 (Ctx.FloatTy == CanRetTy ||
559 Ctx.DoubleTy == CanRetTy ||
560 Ctx
[all...]
H A DCheckerDocumentation.cpp117 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {}
161 void checkEndFunction(CheckerContext &Ctx) const {}
/external/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h37 MCContext *Ctx; member in class:llvm::TargetLoweringObjectFile
45 MCContext &getContext() const { return *Ctx; }
47 TargetLoweringObjectFile() : MCObjectFileInfo(), Ctx(nullptr), DL(nullptr) {}
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp68 MCContext *Ctx = new MCContext(MAI, MRI, nullptr);
69 if (!Ctx)
73 MCDisassembler *DisAsm = TheTarget->createMCDisassembler(*STI, *Ctx);
78 TheTarget->createMCRelocationInfo(Triple, *Ctx));
83 Triple, GetOpInfo, SymbolLookUp, DisInfo, Ctx, RelInfo.release()));
96 STI, MII, Ctx, DisAsm, IP);
H A DDisassembler.h70 std::unique_ptr<const llvm::MCContext> Ctx; member in class:llvm::LLVMDisasmContext
102 Ctx.reset(ctx);
/external/clang/lib/Parse/
H A DParseAST.cpp83 /// held by Ctx.
86 ASTContext &Ctx, bool PrintStats,
92 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer));
85 ParseAST(Preprocessor &PP, ASTConsumer *Consumer, ASTContext &Ctx, bool PrintStats, TranslationUnitKind TUKind, CodeCompleteConsumer *CompletionConsumer, bool SkipFunctionBodies) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp293 NodeBuilderContext Ctx(getCoreEngine(), Blk, BindedRetNode);
294 currBldrCtx = &Ctx;
323 NodeBuilderContext Ctx(Engine, calleeCtx->getCallSiteBlock(), CEENode);
325 &Ctx);
685 static bool hasMember(const ASTContext &Ctx, const CXXRecordDecl *RD, argument
687 const IdentifierInfo &II = Ctx.Idents.get(Name);
688 DeclarationName DeclName = Ctx.DeclarationNames.getIdentifier(&II);
705 static bool isContainerClass(const ASTContext &Ctx, const CXXRecordDecl *RD) { argument
706 return hasMember(Ctx, RD, "begin") ||
707 hasMember(Ctx, R
716 isContainerMethod(const ASTContext &Ctx, const FunctionDecl *FD) argument
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCAsmInfo.cpp138 getNonexecutableStackSection(MCContext &Ctx) const {
139 return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS,
H A DX86MCTargetDesc.cpp352 MCContext &Ctx, MCAsmBackend &MAB,
363 return createMachOStreamer(Ctx, MAB, _OS, _Emitter, RelaxAll);
366 return createX86WinCOFFStreamer(Ctx, MAB, _Emitter, _OS, RelaxAll);
368 return createELFStreamer(Ctx, MAB, _OS, _Emitter, RelaxAll, NoExecStack);
386 MCContext &Ctx) {
389 return createX86_64MachORelocationInfo(Ctx);
391 return createX86_64ELFRelocationInfo(Ctx);
393 return llvm::createMCRelocationInfo(TT, Ctx);
351 createMCStreamer(const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack) argument
385 createX86MCRelocationInfo(StringRef TT, MCContext &Ctx) argument

Completed in 2642 milliseconds

1234567891011>>