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

1234567

/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:__anon3209::FindFileIdRefVisitData
65 return cxtu::getASTUnit(TU)->getASTContext();
188 ASTContext &Ctx = data->getASTContext();
258 ASTContext &getASTContext() const { function in struct:__anon3210::FindFileMacroRefVisitData
259 return Unit.getASTContext();
283 ASTContext &Ctx = data->getASTContext();
350 ASTContext &getASTContext() const { function in struct:__anon3211::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());
55 ASTImporter Importer(CI.getASTContext(),
57 Unit->getASTContext(),
61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DFrontendAction.cpp209 CI.setASTContext(&AST->getASTContext());
325 CI.getASTContext().setASTMutationListener(Consumer->GetASTMutationListener());
334 CI.getASTContext().setExternalSource(source);
348 CI.getASTContext(),
358 if (!CI.getASTContext().getExternalSource())
369 if (!CI.hasASTContext() || !CI.getASTContext().getExternalSource()) {
405 CI.hasASTContext() && !CI.getASTContext().getExternalSource()) {
409 CI.getASTContext().setExternalSource(Override);
/external/clang/unittests/AST/
H A DEvaluateAsRValueTest.cpp46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext());
48 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/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)) {
119 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*ignoreSideEffects=*/ false)) {
141 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) {
171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) {
254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
274 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(),
H A DChrootChecker.cpp69 ASTContext &Ctx = C.getASTContext();
129 ASTContext &Ctx = C.getASTContext();
H A DVforkChecker.cpp89 ASTContext &AC = C.getASTContext();
113 ASTContext &AC = 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.h82 ASTContext &getASTContext() override {
87 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/Parse/
H A DParseAST.cpp147 ExternalASTSource *External = S.getASTContext().getExternalSource();
168 Consumer->HandleTranslationUnit(S.getASTContext());
174 S.getASTContext().PrintStats();
/external/clang/lib/AST/
H A DMicrosoftMangle.cpp175 disc = getASTContext().getManglingNumber(ND);
182 !getASTContext().getDeclaratorForUnnamedTagDecl(Tag) &&
183 !getASTContext().getTypedefNameForUnnamedTagDecl(Tag))
227 ASTContext &getASTContext() const { return Context.getASTContext(); } function in class:__anon1182::MicrosoftCXXNameMangler
238 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
244 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
250 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
352 if (!getASTContext().getLangOpts().CPlusPlus)
470 Ty.getDesugaredType(getASTContext())
[all...]
H A DDeclFriend.cpp24 NextFriend.get(getASTContext().getExternalSource()));
H A DMangle.cpp99 const ASTContext &ASTContext = getASTContext();
106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
130 getASTContext().getTargetInfo().getUserLabelPrefix();
138 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();
524 if (getASTContext().getLangOpts().CPlusPlus11
572 ASTContext &Ctx = getASTContext();
674 ASTContext &Context = getASTContext();
724 if (!getASTContext().getLangOpts().CPlusPlus14)
927 ASTContext &Ctx = getASTContext();
987 getASTContext().DeclarationNames.getCXXOperatorName(OO_Call);
1004 &getASTContext()
[all...]
H A DDecl.cpp39 return D->getASTContext().getPrimaryMergedDecl(D);
222 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) {
539 const LangOptions &Opts = D->getASTContext().getLangOpts();
581 ASTContext &Context = D->getASTContext();
1182 ASTContext &Context = D->getASTContext();
1259 if (!D->getASTContext().getLangOpts().CPlusPlus ||
1365 const LangOptions &Opts = D->getASTContext().getLangOpts();
1398 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1403 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1545 ASTContext &Context = getASTContext();
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp48 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId);

Completed in 303 milliseconds

1234567