Searched refs:CXXMethodDecl (Results 1 - 25 of 118) sorted by relevance

12345

/external/clang/include/clang/AST/
H A DASTLambda.h28 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) {
35 if (!DC || !isa<CXXMethodDecl>(DC)) return false;
36 return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
39 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) {
65 dyn_cast<CXXMethodDecl>(DC));
H A DMangleNumberingContext.h25 class CXXMethodDecl;
42 unsigned getManglingNumber(const CXXMethodDecl *CallOperator);
H A DASTConsumer.h21 class CXXMethodDecl;
60 virtual void HandleInlineMethodDefinition(CXXMethodDecl *D) {}
H A DCXXInheritance.h32 class CXXMethodDecl;
238 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject,
244 CXXMethodDecl *Method;
361 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> { };
H A DVTableBuilder.h72 static VTableComponent MakeFunction(const CXXMethodDecl *MD) {
90 static VTableComponent MakeUnusedFunction(const CXXMethodDecl *MD) {
130 const CXXMethodDecl *getFunctionDecl() const {
133 return reinterpret_cast<CXXMethodDecl *>(getPointer());
143 const CXXMethodDecl *getUnusedFunctionDecl() const {
146 return reinterpret_cast<CXXMethodDecl *>(getPointer());
279 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy;
292 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl());
H A DDeclCXX.h37 class CXXMethodDecl;
745 typedef specific_decl_iterator<CXXMethodDecl> method_iterator;
746 typedef llvm::iterator_range<specific_decl_iterator<CXXMethodDecl>>
1025 CXXMethodDecl *getLambdaCallOperator() const;
1030 CXXMethodDecl *getLambdaStaticInvoker() const;
1585 void finishedDefaultedOrDeletedMember(CXXMethodDecl *MD);
1695 class CXXMethodDecl : public FunctionDecl { class in namespace:clang
1698 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD, function in class:clang::CXXMethodDecl
1710 static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD,
1719 static CXXMethodDecl *CreateDeserialize
[all...]
H A DMangle.h30 class CXXMethodDecl;
99 virtual void mangleThunk(const CXXMethodDecl *MD,
186 virtual void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
/external/chromium_org/tools/clang/blink_gc_plugin/
H A DRecordInfo.h81 clang::CXXMethodDecl* GetTraceMethod();
82 clang::CXXMethodDecl* GetTraceDispatchMethod();
83 clang::CXXMethodDecl* GetFinalizeDispatchMethod();
95 clang::CXXMethodDecl* DeclaresNewOperator();
100 clang::CXXMethodDecl* InheritsNonVirtualTrace();
127 clang::CXXMethodDecl* trace_method_;
128 clang::CXXMethodDecl* trace_dispatch_method_;
129 clang::CXXMethodDecl* finalize_dispatch_method_;
H A DRecordInfo.cpp216 CXXMethodDecl* RecordInfo::DeclaresNewOperator() {
244 CXXMethodDecl* RecordInfo::GetTraceMethod() {
250 CXXMethodDecl* RecordInfo::GetTraceDispatchMethod() {
255 CXXMethodDecl* RecordInfo::GetFinalizeDispatchMethod() {
276 CXXMethodDecl* RecordInfo::InheritsNonVirtualTrace() {
277 if (CXXMethodDecl* trace = GetTraceMethod())
280 if (CXXMethodDecl* trace = it->second.info()->InheritsNonVirtualTrace())
359 CXXMethodDecl* trace = 0;
360 CXXMethodDecl* traceAfterDispatch = 0;
389 if (CXXMethodDecl* dispatc
[all...]
H A DBlinkGCPlugin.cpp159 typedef std::vector<CXXMethodDecl*> MethodVector;
199 bool TraverseCXXMethodDecl(CXXMethodDecl* method) {
307 if (CXXMethodDecl* fn = dyn_cast<CXXMethodDecl>(member->getMemberDecl())) {
324 CheckTraceVisitor(CXXMethodDecl* trace, RecordInfo* info)
493 CXXMethodDecl* fn = call->getMethodDecl();
566 CXXMethodDecl* trace_;
951 if (CXXMethodDecl* trace = info->GetTraceMethod()) {
960 CXXMethodDecl* trace = info->GetTraceMethod();
976 if (CXXMethodDecl* newo
[all...]
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsConsumer.h51 void CheckVirtualMethod(const clang::CXXMethodDecl* method,
55 bool IsMethodInBannedOrTestingNamespace(const clang::CXXMethodDecl* method);
57 void CheckOverriddenMethod(const clang::CXXMethodDecl* method);
H A DFindBadConstructsConsumer.cpp253 void FindBadConstructsConsumer::CheckVirtualMethod(const CXXMethodDecl* method,
287 const CXXMethodDecl* method) {
290 for (CXXMethodDecl::method_iterator i = method->begin_overridden_methods();
293 const CXXMethodDecl* overridden = *i;
304 const CXXMethodDecl* method) {
/external/clang/lib/AST/
H A DMangleNumberingContext.cpp22 MangleNumberingContext::getManglingNumber(const CXXMethodDecl *CallOperator) {
H A DDeclCXX.cpp440 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
552 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
932 void CXXRecordDecl::finishedDefaultedOrDeletedMember(CXXMethodDecl *D) {
983 CXXMethodDecl* CXXRecordDecl::getLambdaCallOperator() const {
995 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl());
997 return cast<CXXMethodDecl>(CallOp);
1000 CXXMethodDecl* CXXRecordDecl::getLambdaStaticInvoker() const {
1010 return cast<CXXMethodDecl>(InvokerTemplat
[all...]
H A DVTableBuilder.cpp65 const CXXMethodDecl *Method;
100 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodBaseOffsetPairTy;
139 OverriderInfo getOverrider(const CXXMethodDecl *MD,
180 const CXXMethodDecl *MD = I->first;
272 const CXXMethodDecl *DerivedMD,
273 const CXXMethodDecl *BaseMD) {
444 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodAndOffsetPairTy;
452 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS,
453 const CXXMethodDecl *RHS);
459 bool AddVCallOffset(const CXXMethodDecl *M
[all...]
H A DCXXInheritance.cpp538 const CXXMethodDecl *CanonOM
539 = cast<CXXMethodDecl>(OM->first->getCanonicalDecl());
550 CXXMethodDecl *CanonM = cast<CXXMethodDecl>(M->getCanonicalDecl());
572 typedef std::pair<CXXMethodDecl::method_iterator,
573 CXXMethodDecl::method_iterator> OverriddenMethods;
582 const CXXMethodDecl *CanonOM
583 = cast<CXXMethodDecl>((*OverMethods.first)->getCanonicalDecl());
/external/clang/lib/CodeGen/
H A DCGVTables.cpp37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
54 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD,
130 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
199 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
230 assert(isa<CXXMethodDecl>(CurGD.getDecl()) &&
232 const CXXMethodDecl *MD = cast<CXXMethodDecl>(G
[all...]
H A DModuleBuilder.cpp98 for (CXXMethodDecl *MD : DeferredInlineMethodDefinitions)
105 void HandleInlineMethodDefinition(CXXMethodDecl *D) override {
182 std::vector<CXXMethodDecl *> DeferredInlineMethodDefinitions;
/external/clang/include/clang/Basic/
H A DABI.h171 class CXXMethodDecl;
187 const CXXMethodDecl *Method;
192 const CXXMethodDecl *Method = nullptr)
/external/clang/include/clang/Frontend/
H A DMultiplexConsumer.h39 void HandleInlineMethodDefinition(CXXMethodDecl *D) override;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp156 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee());
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp428 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
451 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true);
493 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
586 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
908 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DirectCallee))
939 const CXXMethodDecl *Cto
[all...]
H A DExprEngineCXX.cpp49 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial());
50 assert(cast<CXXMethodDecl>(Call.getDecl())->getOverloadedOperator() ==
146 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl());
215 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl());
383 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) {
/external/clang/lib/Sema/
H A DSemaLambda.cpp353 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class,
386 CXXMethodDecl *Method
387 = CXXMethodDecl::Create(Context, Class, EndLoc,
436 CXXMethodDecl *CallOperator,
474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) {
916 CXXMethodDecl *Method = startLambdaDefinition(Class, Intro.Range,
1161 CXXMethodDecl *CallOperator) {
1305 CXXMethodDecl *Invoke
1306 = CXXMethodDecl::Create(S.Context, Class, Loc,
1337 CXXMethodDecl *CallOperato
[all...]
/external/clang/include/clang/Sema/
H A DTemplate.h422 Decl *VisitCXXMethodDecl(CXXMethodDecl *D,
483 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);

Completed in 8716 milliseconds

12345