Home
last modified time | relevance | path

Searched refs:CXXMethod (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp41 {CDM::CXXMethod, {"ARMAsmParser", "Error"}},
42 {CDM::CXXMethod, {"HexagonAsmParser", "Error"}},
43 {CDM::CXXMethod, {"LLLexer", "Error"}},
44 {CDM::CXXMethod, {"LLParser", "Error"}},
45 {CDM::CXXMethod, {"MCAsmParser", "Error"}},
46 {CDM::CXXMethod, {"MCAsmParserExtension", "Error"}},
47 {CDM::CXXMethod, {"TGParser", "Error"}},
48 {CDM::CXXMethod, {"X86AsmParser", "Error"}},
50 {CDM::CXXMethod, {"LLParser", "TokError"}},
51 {CDM::CXXMethod, {"MCAsmParser", "TokError"}},
[all …]
H A DInnerPointerChecker.cpp39 CallDescription(CDM::CXXMethod, {"std", "basic_string", "append"}),
40 CallDescription(CDM::CXXMethod, {"std", "basic_string", "assign"}),
41 CallDescription(CDM::CXXMethod, {"std", "basic_string", "clear"}),
42 CallDescription(CDM::CXXMethod, {"std", "basic_string", "erase"}),
43 CallDescription(CDM::CXXMethod, {"std", "basic_string", "insert"}),
44 CallDescription(CDM::CXXMethod, {"std", "basic_string", "pop_back"}),
45 CallDescription(CDM::CXXMethod, {"std", "basic_string", "push_back"}),
46 CallDescription(CDM::CXXMethod, {"std", "basic_string", "replace"}),
47 CallDescription(CDM::CXXMethod, {"std", "basic_string", "reserve"}),
48 CallDescription(CDM::CXXMethod, {"std", "basic_string", "resize"}),
[all …]
H A DContainerModeling.cpp75 {{CDM::CXXMethod, {"clear"}, 0}, &ContainerModeling::handleClear},
76 {{CDM::CXXMethod, {"assign"}, 2}, &ContainerModeling::handleAssign},
77 {{CDM::CXXMethod, {"push_back"}, 1}, &ContainerModeling::handlePushBack},
78 {{CDM::CXXMethod, {"emplace_back"}, 1},
80 {{CDM::CXXMethod, {"pop_back"}, 0}, &ContainerModeling::handlePopBack},
81 {{CDM::CXXMethod, {"push_front"}, 1},
83 {{CDM::CXXMethod, {"emplace_front"}, 1},
85 {{CDM::CXXMethod, {"pop_front"}, 0}, &ContainerModeling::handlePopFront},
89 {{CDM::CXXMethod, {"insert"}, 2}, &ContainerModeling::handleInsert},
90 {{CDM::CXXMethod, {"emplace"}, 2}, &ContainerModeling::handleInsert},
[all …]
H A DStdVariantChecker.cpp132 CallDescription VariantConstructor{CDM::CXXMethod,
134 CallDescription VariantAssignmentOperator{CDM::CXXMethod,
H A DStringChecker.cpp30 CDM::CXXMethod, {"std", "basic_string", "basic_string"}, 2, 2};
H A DBlockInCriticalSectionChecker.cpp158 {/*MatchAs=*/CDM::CXXMethod,
161 {CDM::CXXMethod, {"std", /*"mutex",*/ "unlock"}, 0}),
H A DSmartPtrModeling.cpp89 {{CDM::CXXMethod, {"reset"}}, &SmartPtrModeling::handleReset},
90 {{CDM::CXXMethod, {"release"}}, &SmartPtrModeling::handleRelease},
91 {{CDM::CXXMethod, {"swap"}, 1}, &SmartPtrModeling::handleSwapMethod},
92 {{CDM::CXXMethod, {"get"}}, &SmartPtrModeling::handleGet}};
H A DCastValueChecker.cpp69 {{CDM::CXXMethod, {"clang", "castAs"}, 0},
71 {{CDM::CXXMethod, {"clang", "getAs"}, 0},
H A DMIGChecker.cpp83 {{CDM::CXXMethod, {__VA_ARGS__}, required_args}, deallocated_arg}
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDeclNodes.td53 def CXXMethod : DeclNode<Function>;
54 def CXXConstructor : DeclNode<CXXMethod>;
55 def CXXDestructor : DeclNode<CXXMethod>;
56 def CXXConversion : DeclNode<CXXMethod>;
H A DAttr.td114 def NonStaticCXXMethod : SubsetSubject<CXXMethod,
119 : SubsetSubject<CXXMethod,
527 def SubRuleForCXXMethod : AttrSubjectMatcherSubRule<"is_member", [CXXMethod]> {
3845 let Subjects = SubjectList<[CXXMethod]>;
3882 let Subjects = SubjectList<[CXXMethod]>;
3894 let Subjects = SubjectList<[CXXMethod]>;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp327 case Decl::CXXMethod: in getDefinitiveDeclContext()
380 case Decl::CXXMethod: in isRedeclarableDeclKind()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp160 auto *CXXMethod = dyn_cast<CXXMethodDecl>(D); in getSelfDecl() local
161 if (!CXXMethod) in getSelfDecl()
164 const CXXRecordDecl *parent = CXXMethod->getParent(); in getSelfDecl()
H A DIssueHash.cpp106 case Decl::CXXMethod: in GetEnclosingDeclContextSignature()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h109 CXXMethod, enumerator
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallDescription.h57 CXXMethod, enumerator
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallDescription.cpp123 if (MatchAs == Mode::CXXMethod && !isMethod) in matchesImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp604 case Decl::CXXMethod: in FindTypeDiffs()
607 return CXXMethod; in FindTypeDiffs()
1048 case CXXMethod: { in diagnoseMismatch()
1616 case CXXMethod: in diagnoseMismatch()
2058 case CXXMethod: in diagnoseMismatch()
2187 case CXXMethod: in diagnoseMismatch()
H A DDeclBase.cpp866 case CXXMethod: in getIdentifierNamespaceForKind()
1220 if (getKind(D) == Decl::CXXMethod) { in getNonClosureContext()
H A DODRHash.cpp546 case Decl::CXXMethod: in isSubDeclToBeProcessed()
H A DDeclCXX.cpp2319 CXXMethod, C, RD, StartLoc, NameInfo, T, TInfo, SC, UsesFPIntrin, in Create()
2326 CXXMethod, C, nullptr, SourceLocation(), DeclarationNameInfo(), in CreateDeserialized()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp1027 if (auto CXXMethod = dyn_cast<CXXMethodDecl>(D)) { in ProcessAPINotes() local
1030 auto Info = Reader->lookupCXXMethod(*Context, CXXMethod->getName()); in ProcessAPINotes()
1031 ProcessVersionedAPINotes(*this, CXXMethod, Info); in ProcessAPINotes()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp962 for (const auto &CXXMethod : T.Methods) { in convertTagContext() local
964 convertFunction(CXXMethod, MI); in convertTagContext()
965 Writer.addCXXMethod(TagCtxID, CXXMethod.Name, MI, SwiftVersion); in convertTagContext()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp223 case Decl::Kind::CXXMethod: in HandleNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp274 case Decl::CXXMethod: { in getSymbolInfo()

12