Searched refs:getASTContext (Results 1 - 25 of 150) sorted by relevance

123456

/external/clang/tools/libclang/
H A DCXComment.h52 static inline ASTContext &getASTContext(CXComment CXC) { function in namespace:clang::cxcomment
53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext();
57 return getASTContext(CXC).getCommentCommandTraits();
H A DCIndexHigh.cpp64 ASTContext &getASTContext() const { function in struct:__anon19519::FindFileIdRefVisitData
65 return cxtu::getASTUnit(TU)->getASTContext();
188 ASTContext &Ctx = data->getASTContext();
258 ASTContext &getASTContext() const { function in struct:__anon19520::FindFileMacroRefVisitData
259 return Unit.getASTContext();
283 ASTContext &Ctx = data->getASTContext();
350 ASTContext &getASTContext() const { function in struct:__anon19521::FindFileIncludesVisitor
351 return Unit.getASTContext();
361 ASTContext &Ctx = getASTContext();
H A DCIndexInclusionStack.cpp34 ASTContext &Ctx = CXXUnit->getASTContext();
/external/clang/lib/Frontend/
H A DASTMerge.cpp37 CI.getASTContext().getLangOpts());
39 &CI.getASTContext());
53 ASTImporter Importer(CI.getASTContext(),
55 Unit->getASTContext(),
59 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DFrontendAction.cpp206 CI.setASTContext(&AST->getASTContext());
313 CI.getASTContext().setASTMutationListener(Consumer->GetASTMutationListener());
322 CI.getASTContext().setExternalSource(source);
336 CI.getASTContext(),
346 if (!CI.getASTContext().getExternalSource())
357 if (!CI.hasASTContext() || !CI.getASTContext().getExternalSource()) {
379 CI.hasASTContext() && !CI.getASTContext().getExternalSource()) {
383 CI.getASTContext().setExternalSource(Override);
H A DChainedIncludesSource.cpp82 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"",
164 Clang->getASTContext().setASTMutationListener(
191 Clang->getASTContext().setExternalSource(Reader);
266 CIs[i]->getASTContext().getExternalSource()) {
/external/clang/lib/AST/
H A DMangleNumberingContext.cpp25 ASTContext &Context = CallOperator->getASTContext();
H A DDeclFriend.cpp24 NextFriend.get(getASTContext().getExternalSource()));
H A DMangle.cpp94 const ASTContext &ASTContext = getASTContext();
101 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
125 getASTContext().getTargetInfo().getUserLabelPrefix();
133 const ASTContext &ASTContext = getASTContext();
H A DDeclCXX.cpp79 return Bases.get(Definition->getASTContext().getExternalSource());
83 return VBases.get(Definition->getASTContext().getExternalSource());
140 ASTContext &C = getASTContext();
530 if (getASTContext().getLangOpts().CPlusPlus11
578 ASTContext &Ctx = getASTContext();
685 ASTContext &Context = getASTContext();
723 if (!getASTContext().getLangOpts().CPlusPlus1y)
926 ASTContext &Ctx = getASTContext();
986 getASTContext().DeclarationNames.getCXXOperatorName(OO_Call);
1003 &getASTContext()
[all...]
H A DDecl.cpp38 return D->getASTContext().getPrimaryMergedDecl(D);
210 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) {
528 const LangOptions &Opts = D->getASTContext().getLangOpts();
570 ASTContext &Context = D->getASTContext();
1153 ASTContext &Context = D->getASTContext();
1300 const LangOptions &Opts = D->getASTContext().getLangOpts();
1333 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1338 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1461 ASTContext &Context = getASTContext();
1470 ASTContext &Context = getASTContext();
[all...]
/external/clang/unittests/AST/
H A DEvaluateAsRValueTest.cpp48 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext());
50 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(),
H A DExternalASTSourceTest.cpp32 getCompilerInstance().getASTContext().setExternalSource(Source);
33 getCompilerInstance().getASTContext().getTranslationUnitDecl()
/external/lldb/source/Symbol/
H A DClangASTImporter.cpp232 MinionSP minion_sp (GetMinion(&decl->getASTContext(), decl_origin.ctx));
245 clang::ASTContext *origin_ast_ctx = &origin_decl->getASTContext();
250 MinionSP minion_sp (GetMinion(&decl->getASTContext(), origin_ast_ctx));
255 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext());
277 MinionSP minion_sp (GetMinion(&interface_decl->getASTContext(), decl_origin.ctx));
322 return ClangASTContext::GetMetadata(&decl->getASTContext(), decl);
328 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext());
343 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext());
352 iter->second.ctx = &original_decl->getASTContext();
356 origins[decl] = DeclOrigin(&original_decl->getASTContext(), original_dec
[all...]
/external/clang/lib/Parse/
H A DParseAST.cpp131 ExternalASTSource *External = S.getASTContext().getExternalSource();
154 Consumer->HandleTranslationUnit(S.getASTContext());
160 S.getASTContext().PrintStats();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp56 releaseS = GetNullarySelector("release", C.getASTContext());
H A DNoReturnFunctionChecker.cpp123 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(),
130 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(),
H A DCastSizeChecker.cpp93 ASTContext &Ctx = C.getASTContext();
122 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
H A DCastToStructChecker.cpp37 ASTContext &Ctx = C.getASTContext();
H A DIdenticalExprChecker.cpp92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) {
100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) {
123 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) {
153 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) {
236 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
256 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(),
H A DChrootChecker.cpp69 ASTContext &Ctx = C.getASTContext();
129 ASTContext &Ctx = C.getASTContext();
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.h44 return m_ast_ctx.getASTContext();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h79 ASTContext &getASTContext() override {
84 return getASTContext().getSourceManager();
/external/lldb/include/lldb/Symbol/
H A DClangASTContext.h49 getASTContext();
105 return ClangASTContext::GetCompleteDecl(getASTContext(), decl);
118 SetMetadata(getASTContext(), object, meta_data);
129 return GetMetadata(getASTContext(), object);
175 return ClangASTContext::GetUnknownAnyType(getASTContext());
187 return GetTranslationUnitDecl (getASTContext());
361 return ClangASTContext::CreateFunctionType(getASTContext(),
404 return GetFloatTypeFromBitSize (getASTContext(), bit_size);
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp48 StringRef BName = FD->getASTContext().BuiltinInfo.GetName(BId);

Completed in 473 milliseconds

123456