Searched refs:getASTContext (Results 26 - 50 of 150) sorted by relevance

123456

/external/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp83 if (CE->EvaluateAsInt(Result, C.getASTContext(), Expr::SE_NoSideEffects)) {
H A DNSErrorChecker.cpp61 II = &D->getASTContext().Idents.get("NSError");
108 II = &D->getASTContext().Idents.get("CFErrorRef");
211 ASTContext &Ctx = C.getASTContext();
H A DDynamicTypePropagation.cpp51 ASTContext &Ctx = C.getASTContext();
133 C.getASTContext().getObjCObjectPointerType(QualType(ObjTy, 0));
H A DSimpleStreamChecker.cpp123 initIdentifierInfo(C.getASTContext());
144 initIdentifierInfo(C.getASTContext());
H A DBasicObjCFoundationChecks.cpp235 ASTContext &Ctx = C.getASTContext();
265 ASTContext &Ctx = C.getASTContext();
294 ASTContext &Ctx = C.getASTContext();
437 ASTContext &Ctx = C.getASTContext();
554 ASTContext &Ctx = C.getASTContext();
643 ASTContext &Ctx = C.getASTContext();
752 ASTContext &Ctx = C.getASTContext();
794 if (C.getASTContext().isObjCNSObjectType(ArgTy))
1038 CountSelectorII = &C.getASTContext().Idents.get("count");
1229 ASTContext &Ctx = C.getASTContext();
[all...]
H A DDirectIvarAssignment.cpp130 Mgr.getASTContext());
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp62 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts()))
207 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(),
217 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(),
227 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(),
261 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(),
300 NS.getASTContext().getObjContainingInterface(Method);
343 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts()))
413 if (!NS.getASTContext().isSentinelNullExpr(SentinelExpr))
451 if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts()))
473 if (!NS.getASTContext()
[all...]
/external/lldb/source/Symbol/
H A DClangASTContext.cpp343 ASTContext *ast = getASTContext();
352 ASTContext *ast = getASTContext();
364 ASTContext *ast = getASTContext();
378 ClangASTContext::getASTContext() function in class:ClangASTContext
539 return ClangASTContext::GetBuiltinTypeForEncodingAndBitSize (getASTContext(), encoding, bit_size);
691 return GetBasicType (getASTContext(), basic_type);
811 ASTContext *ast = getASTContext();
1031 ASTContext *ast = getASTContext();
1105 // No need to call the getASTContext() accessor (which can create the AST
1117 // No need to call the getASTContext() accesso
[all...]
/external/clang/lib/AST/
H A DMicrosoftMangle.cpp150 disc = getASTContext().getManglingNumber(ND);
200 ASTContext &getASTContext() const { return Context.getASTContext(); } function in class:__anon17740::MicrosoftCXXNameMangler
211 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
217 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
316 if (!getASTContext().getLangOpts().CPlusPlus)
427 Ty.getDesugaredType(getASTContext()).getLocalQualifiers(), nullptr);
435 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) {
458 FieldOffset = getASTContext().getFieldOffset(VD);
459 assert(FieldOffset % getASTContext()
[all...]
H A DDeclObjC.cpp464 Data.setPointer(new (getASTContext()) DefinitionData());
674 return Body.get(getASTContext().getExternalSource());
679 getASTContext().setObjCMethodRedeclaration(PrevMethod, this);
725 ASTContext &Ctx = getASTContext();
1173 getASTContext().getExternalSource()->CompleteType(
1178 assert(getASTContext().getExternalSource() &&
1207 return getASTContext().getObjCImplementation(
1216 getASTContext().setObjCImplementation(getDefinition(), ImplD);
1283 IV->getASTContext().getTypeSize(IV->getType()), IV));
1362 if (getASTContext()
[all...]
H A DDeclPrinter.cpp95 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation);
176 ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();
627 Out << D->getASTContext().getUnqualifiedObjCPointerType(D->getType()).
677 : D->getASTContext().getUnqualifiedObjCPointerType(D->getType());
923 Out << '(' << OMD->getASTContext()
933 Out << ":(" << PI->getASTContext().getUnqualifiedObjCPointerType(PI->getType()).
966 Indent() << I->getASTContext().getUnqualifiedObjCPointerType(I->getType()).
1004 Indent() << I->getASTContext()
1056 Indent() << I->getASTContext().getUnqualifiedObjCPointerType(I->getType()).
1142 Out << ' ' << PDecl->getASTContext()
[all...]
H A DDeclTemplate.cpp153 Common = newCommon(getASTContext());
171 EntryType::Profile(ID,Args, getASTContext());
251 ASTContext &Context = getASTContext();
286 = new (getASTContext()) TemplateArgument[Params->size()];
287 GenerateInjectedTemplateArgs(getASTContext(), Params,
325 ASTContext &Context = getASTContext();
408 ASTContext &Context = getASTContext();
450 ASTContext &Context = getASTContext();
454 GenerateInjectedTemplateArgs(getASTContext(), Params, TemplateArgs.data());
958 ASTContext &Context = getASTContext();
[all...]
H A DItaniumMangle.cpp176 unsigned discriminator = getASTContext().getManglingNumber(ND);
252 ASTContext &getASTContext() const { return Context.getASTContext(); } function in class:__anon17737::CXXNameMangler
416 if (!getASTContext().getLangOpts().CPlusPlus)
764 = getASTContext().getDependentTemplateName(DTST->getQualifier(),
999 QualType type = getASTContext().getTypeDeclType(typeDecl);
1002 newQualifier = NestedNameSpecifier::Create(getASTContext(),
1008 newQualifier = NestedNameSpecifier::Create(getASTContext(),
1013 newQualifier = NestedNameSpecifier::Create(getASTContext(),
1159 unsigned UnnamedMangle = getASTContext()
[all...]
H A DMicrosoftCXXABI.cpp115 return MSVtorDispAttr::Mode(getASTContext().getLangOpts().VtorDispMode);
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.cpp94 &tag_decl->getASTContext(),
124 &interface_decl->getASTContext(),
157 clang::TranslationUnitDecl *translation_unit_decl = m_type_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl();
172 m_ast_ctx.getASTContext()->setExternalSource(external_source_owning_ptr);
183 clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext();
332 clang::ASTContext &ast_ctx(interface_decl->getASTContext());
612 clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext();
/external/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp97 Body = getBodyFarm(getASTContext()).getBody(FD);
106 Body = getBodyFarm(getASTContext()).getBody(MD);
185 &D->getASTContext(), cfgBuildOptions));
203 completeCFG.reset(CFG::buildCFG(D, getBody(), &D->getASTContext(),
243 getCFG()->dump(getASTContext().getLangOpts(), ShowColors);
424 ASTContext &Ctx = getAnalysisDeclContext()->getASTContext();
/external/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp58 Var->getASTContext().getLangOpts().CPlusPlus)
/external/lldb/source/Expression/
H A DClangExpressionDeclMap.cpp198 ASTContext *context(target->GetScratchClangASTContext()->getASTContext());
238 ASTContext *context(target->GetScratchClangASTContext()->getASTContext());
932 &class_decl->getASTContext());
967 QualType class_pointer_type = method_decl->getASTContext().getPointerType(class_qual_type);
970 &method_decl->getASTContext());
1060 &method_decl->getASTContext());
1074 QualType class_pointer_type = method_decl->getASTContext().getObjCObjectPointerType(QualType(interface_type, 0));
1077 &method_decl->getASTContext());
1084 QualType class_type = method_decl->getASTContext().getObjCClassType();
1087 &method_decl->getASTContext());
[all...]
H A DClangASTSource.cpp39 clang::ASTContext *scratch_ast_context = scratch_clang_ast_context->getASTContext();
426 original_ctx = &complete_iface_decl->getASTContext();
822 DeclFromParser <> parser_generic_decl(importer->CopyDecl(&dest_ctx, &this->decl->getASTContext(), this->decl));
837 clang::ASTContext *original_ctx = &original_interface_decl->getASTContext();
886 Decl *copied_decl = ast_importer->CopyDecl(ast_context, &result_method->getASTContext(), result_method);
1087 Decl *copied_decl = m_ast_importer->CopyDecl(m_ast_context, &method_decl->getASTContext(), method_decl);
1130 &complete_iface_decl->getASTContext());
1206 IdentifierInfo &name_identifier(origin_iface_decl->getASTContext().Idents.get(name));
1280 &origin_iface_decl->getASTContext());
1303 &complete_iface_decl->getASTContext());
[all...]
/external/clang/tools/libclang/
H A DCXType.cpp104 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext();
147 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext();
229 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts());
329 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext()
598 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0;
699 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext();
730 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext();
801 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext();
H A DCXComment.cpp376 HTC, Text, cxtu::getASTUnit(TU)->getASTContext());
391 ->convertCommentToHTML(FC, HTML, cxtu::getASTUnit(TU)->getASTContext());
406 ->convertCommentToXML(FC, XML, cxtu::getASTUnit(TU)->getASTContext());
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h377 virtual ASTContext &getASTContext() = 0;
443 ASTContext &getContext() { return D.getASTContext(); }
543 ASTContext &getASTContext() { function in class:clang::ento::BugReporterContext
/external/lldb/source/API/
H A DSBModule.cpp509 sb_type = SBType (ClangASTContext::GetBasicType (module_sp->GetClangASTContext().getASTContext(), name));
519 return SBType (ClangASTContext::GetBasicType (module_sp->GetClangASTContext().getASTContext(), type));
552 SBType sb_type(ClangASTContext::GetBasicType (module_sp->GetClangASTContext().getASTContext(), name));
/external/clang/include/clang/AST/
H A DNSAPI.h27 ASTContext &getASTContext() const { return Ctx; } function in class:clang::NSAPI
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h130 ASTContext &getASTContext() { function in class:clang::ento::CheckerContext

Completed in 617 milliseconds

123456