/external/lldb/source/Symbol/ |
D | ClangASTImporter.cpp | 232 MinionSP minion_sp (GetMinion(&decl->getASTContext(), decl_origin.ctx)); in CompleteTagDecl() 245 clang::ASTContext *origin_ast_ctx = &origin_decl->getASTContext(); in CompleteTagDeclWithOrigin() 250 MinionSP minion_sp (GetMinion(&decl->getASTContext(), origin_ast_ctx)); in CompleteTagDeclWithOrigin() 255 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in CompleteTagDeclWithOrigin() 277 MinionSP minion_sp (GetMinion(&interface_decl->getASTContext(), decl_origin.ctx)); in CompleteObjCInterfaceDecl() 322 return ClangASTContext::GetMetadata(&decl->getASTContext(), decl); in GetDeclMetadata() 328 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetDeclOrigin() 343 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in SetDeclOrigin() 352 iter->second.ctx = &original_decl->getASTContext(); in SetDeclOrigin() 356 origins[decl] = DeclOrigin(&original_decl->getASTContext(), original_decl); in SetDeclOrigin() [all …]
|
D | ClangASTContext.cpp | 343 ASTContext *ast = getASTContext(); in HasExternalSource() 352 ASTContext *ast = getASTContext(); in SetExternalSource() 364 ASTContext *ast = getASTContext(); in RemoveExternalSource() 378 ClangASTContext::getASTContext() in getASTContext() function in ClangASTContext 539 … return ClangASTContext::GetBuiltinTypeForEncodingAndBitSize (getASTContext(), encoding, bit_size); in GetBuiltinTypeForEncodingAndBitSize() 691 return GetBasicType (getASTContext(), basic_type); in GetBasicType() 811 ASTContext *ast = getASTContext(); in GetBuiltinTypeForDWARFEncodingAndBitSize() 1031 ASTContext *ast = getASTContext(); in GetCStringType() 1136 ASTContext *ast = getASTContext(); in CreateRecordType() 1238 ASTContext *ast = getASTContext(); in CreateFunctionTemplateDecl() [all …]
|
/external/clang/lib/Frontend/ |
D | ASTMerge.cpp | 37 CI.getASTContext().getLangOpts()); in ExecuteAction() 39 &CI.getASTContext()); in ExecuteAction() 55 ASTImporter Importer(CI.getASTContext(), in ExecuteAction() 57 Unit->getASTContext(), in ExecuteAction() 61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
|
D | FrontendAction.cpp | 209 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile() 325 CI.getASTContext().setASTMutationListener(Consumer->GetASTMutationListener()); in BeginSourceFile() 334 CI.getASTContext().setExternalSource(source); in BeginSourceFile() 348 CI.getASTContext(), in BeginSourceFile() 358 if (!CI.getASTContext().getExternalSource()) in BeginSourceFile() 369 if (!CI.hasASTContext() || !CI.getASTContext().getExternalSource()) { in BeginSourceFile() 405 CI.hasASTContext() && !CI.getASTContext().getExternalSource()) { in BeginSourceFile() 409 CI.getASTContext().setExternalSource(Override); in BeginSourceFile()
|
D | ChainedIncludesSource.cpp | 83 Reader.reset(new ASTReader(PP, CI.getASTContext(), in createASTReader() 168 Clang->getASTContext().setASTMutationListener( in createChainedIncludesSource() 196 Clang->getASTContext().setExternalSource(Reader); in createChainedIncludesSource() 278 CIs[i]->getASTContext().getExternalSource()) { in getMemoryBufferSizes()
|
/external/lldb/include/lldb/Symbol/ |
D | ClangASTContext.h | 49 getASTContext(); 105 return ClangASTContext::GetCompleteDecl(getASTContext(), decl); in GetCompleteDecl() 118 SetMetadata(getASTContext(), object, meta_data); in SetMetadata() 129 return GetMetadata(getASTContext(), object); in GetMetadata() 175 return ClangASTContext::GetUnknownAnyType(getASTContext()); in GetUnknownAnyType() 187 return GetTranslationUnitDecl (getASTContext()); in GetTranslationUnitDecl() 361 return ClangASTContext::CreateFunctionType(getASTContext(), in CreateFunctionType() 404 return GetFloatTypeFromBitSize (getASTContext(), bit_size); in GetFloatTypeFromBitSize()
|
/external/clang/tools/libclang/ |
D | CXComment.h | 52 static inline ASTContext &getASTContext(CXComment CXC) { in getASTContext() function 53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext() 57 return getASTContext(CXC).getCommentCommandTraits(); in getCommandTraits()
|
D | CIndexHigh.cpp | 64 ASTContext &getASTContext() const { in getASTContext() function 65 return cxtu::getASTUnit(TU)->getASTContext(); in getASTContext() 188 ASTContext &Ctx = data->getASTContext(); in findFileIdRefVisit() 258 ASTContext &getASTContext() const { in getASTContext() function 259 return Unit.getASTContext(); in getASTContext() 283 ASTContext &Ctx = data->getASTContext(); in findFileMacroRefVisit() 350 ASTContext &getASTContext() const { in getASTContext() function 351 return Unit.getASTContext(); in getASTContext() 361 ASTContext &Ctx = getASTContext(); in visit()
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 175 disc = getASTContext().getManglingNumber(ND); in getNextDiscriminator() 182 !getASTContext().getDeclaratorForUnnamedTagDecl(Tag) && in getNextDiscriminator() 183 !getASTContext().getTypedefNameForUnnamedTagDecl(Tag)) in getNextDiscriminator() 227 ASTContext &getASTContext() const { return Context.getASTContext(); } in getASTContext() function in __anonf5539e9e0111::MicrosoftCXXNameMangler 238 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 244 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 250 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 352 if (!getASTContext().getLangOpts().CPlusPlus) in shouldMangleCXXName() 470 Ty.getDesugaredType(getASTContext()).getLocalQualifiers(), QualType()); in mangleVariableEncoding() 478 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding() [all …]
|
D | Decl.cpp | 39 return D->getASTContext().getPrimaryMergedDecl(D); in getPrimaryMergedDecl() 222 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) { in getVisibilityOf() 539 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden() 581 ASTContext &Context = D->getASTContext(); in getLVForNamespaceScopeDecl() 1182 ASTContext &Context = D->getASTContext(); in getLVForLocalDecl() 1259 if (!D->getASTContext().getLangOpts().CPlusPlus || in computeLVForDecl() 1365 const LangOptions &Opts = D->getASTContext().getLangOpts(); in getLVForDecl() 1398 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in getQualifiedNameAsString() 1403 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in printQualifiedName() 1545 ASTContext &Context = getASTContext(); in declarationReplaces() [all …]
|
D | DeclCXX.cpp | 79 return Bases.get(Definition->getASTContext().getExternalSource()); in getBasesSlowCase() 83 return VBases.get(Definition->getASTContext().getExternalSource()); in getVBasesSlowCase() 140 ASTContext &C = getASTContext(); in setBases() 524 if (getASTContext().getLangOpts().CPlusPlus11 in addedMember() 572 ASTContext &Ctx = getASTContext(); in addedMember() 674 ASTContext &Context = getASTContext(); in addedMember() 724 if (!getASTContext().getLangOpts().CPlusPlus14) in addedMember() 927 ASTContext &Ctx = getASTContext(); in addedMember() 987 getASTContext().DeclarationNames.getCXXOperatorName(OO_Call); in getLambdaCallOperator() 1004 &getASTContext().Idents.get(getLambdaStaticInvokerName()); in getLambdaStaticInvoker() [all …]
|
D | Mangle.cpp | 99 const ASTContext &ASTContext = getASTContext(); in shouldMangleDeclName() 106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName() 130 getASTContext().getTargetInfo().getUserLabelPrefix(); in mangleName() 138 const ASTContext &ASTContext = getASTContext(); in mangleName()
|
D | DeclBase.cpp | 45 getASTContext().getExternalSource()->updateOutOfDateIdentifier(II); in updateOutOfDate() 95 return getASTContext().getExternalSource()->getModule(getOwningModuleID()); in getOwningModuleSlow() 99 return getASTContext().getLangOpts().ModulesLocalVisibility; in hasLocalOwningModuleStorage() 250 setDeclContextsImpl(getDeclContext(), DC, getASTContext()); in setLexicalDeclContext() 311 ASTContext &Decl::getASTContext() const { in getASTContext() function in Decl 312 return getTranslationUnitDecl()->getASTContext(); in getASTContext() 316 return getASTContext().getASTMutationListener(); in getASTMutationListener() 325 ASTContext &Ctx = getASTContext(); in getMaxAlignment() 492 AvailabilityResult AR = CheckAvailability(getASTContext(), Availability, in getAvailability() 533 getASTContext().getLangOpts().ObjCRuntime.hasWeakClassImport()) { in canBeWeakImported() [all …]
|
D | DeclObjC.cpp | 545 Data.setPointer(new (getASTContext()) DefinitionData()); in allocateDefinitionData() 757 return Body.get(getASTContext().getExternalSource()); in getBody() 762 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration() 808 ASTContext &Ctx = getASTContext(); in getNextRedeclarationImpl() 1059 ASTContext &Ctx = getASTContext(); in getSendResultType() 1067 return getReturnType().getNonLValueExprType(getASTContext()) in getSendResultType() 1401 getASTContext().getExternalSource()->CompleteType( in LoadExternalDefinition() 1406 assert(getASTContext().getExternalSource() && in setExternallyCompleted() 1452 return getASTContext().getObjCImplementation( in getImplementation() 1461 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation() [all …]
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 62 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) in rewriteObjCRedundantCallWithLiteral() 207 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToArraySubscriptGet() 217 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToDictionarySubscriptGet() 227 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToArraySubscriptSet() 261 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToDictionarySubscriptSet() 300 NS.getASTContext().getObjContainingInterface(Method); in rewriteToObjCSubscriptSyntax() 343 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) in rewriteToObjCLiteralSyntax() 413 if (!NS.getASTContext().isSentinelNullExpr(SentinelExpr)) in rewriteToArrayLiteral() 451 if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts())) in getNSArrayObjects() 473 if (!NS.getASTContext().isSentinelNullExpr(SentinelExpr)) in getNSArrayObjects() [all …]
|
/external/clang/lib/Parse/ |
D | ParseAST.cpp | 147 ExternalASTSource *External = S.getASTContext().getExternalSource(); in ParseAST() 168 Consumer->HandleTranslationUnit(S.getASTContext()); in ParseAST() 174 S.getASTContext().PrintStats(); in ParseAST()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { in checkBitwiseOrLogicalOp() 100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { in checkBitwiseOrLogicalOp() 119 …if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*ignoreSide… in VisitIfStmt() 141 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt() 171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt() 254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp() 274 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(), in VisitConditionalOperator()
|
D | StackAddrEscapeChecker.cpp | 109 SourceRange range = genName(os, R, C.getASTContext()); in EmitStackError() 147 if (C.getASTContext().getLangOpts().ObjCAutoRefCount && in checkPreStmt() 200 if (Ctx.getASTContext().getLangOpts().ObjCAutoRefCount && in checkEndFunction() 238 SourceRange range = genName(os, cb.V[i].second, Ctx.getASTContext()); in checkEndFunction()
|
D | NoReturnFunctionChecker.cpp | 123 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(), in checkPostObjCMessage() 130 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(), in checkPostObjCMessage()
|
/external/clang/unittests/AST/ |
D | ExternalASTSourceTest.cpp | 32 getCompilerInstance().getASTContext().setExternalSource(Source); in ExecuteAction() 33 getCompilerInstance().getASTContext().getTranslationUnitDecl() in ExecuteAction()
|
D | EvaluateAsRValueTest.cpp | 46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl() 48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(), in VisitVarDecl()
|
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCTypeVendor.cpp | 94 &tag_decl->getASTContext(), in CompleteType() 124 &interface_decl->getASTContext(), in CompleteType() 157 …clang::TranslationUnitDecl *translation_unit_decl = m_type_vendor.m_ast_ctx.getASTContext()->getTr… in StartTranslationUnit() 172 m_ast_ctx.getASTContext()->setExternalSource(external_source_owning_ptr); in AppleObjCTypeVendor() 183 clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext(); in GetDeclForISA() 332 clang::ASTContext &ast_ctx(interface_decl->getASTContext()); in BuildMethod() 612 clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext(); in FindTypes()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | AnalysisManager.h | 82 ASTContext &getASTContext() override { in getASTContext() function 87 return getASTContext().getSourceManager(); in getSourceManager()
|
/external/lldb/source/Expression/ |
D | ClangExpressionDeclMap.cpp | 198 ASTContext *context(target->GetScratchClangASTContext()->getASTContext()); in AddPersistentVariable() 238 ASTContext *context(target->GetScratchClangASTContext()->getASTContext()); in AddPersistentVariable() 932 &class_decl->getASTContext()); in FindExternalVisibleDecls() 967 … QualType class_pointer_type = method_decl->getASTContext().getPointerType(class_qual_type); in FindExternalVisibleDecls() 970 &method_decl->getASTContext()); in FindExternalVisibleDecls() 1060 &method_decl->getASTContext()); in FindExternalVisibleDecls() 1074 …QualType class_pointer_type = method_decl->getASTContext().getObjCObjectPointerType(QualType(inter… in FindExternalVisibleDecls() 1077 &method_decl->getASTContext()); in FindExternalVisibleDecls() 1084 QualType class_type = method_decl->getASTContext().getObjCClassType(); in FindExternalVisibleDecls() 1087 &method_decl->getASTContext()); in FindExternalVisibleDecls() [all …]
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 98 Body = getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(FD); in getBody() 107 Body = getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(MD); in getBody() 209 cfg = CFG::buildCFG(D, getBody(), &D->getASTContext(), cfgBuildOptions); in getCFG() 228 CFG::buildCFG(D, getBody(), &D->getASTContext(), cfgBuildOptions); in getUnoptimizedCFG() 267 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG() 448 ASTContext &Ctx = getAnalysisDeclContext()->getASTContext(); in dumpStack()
|