Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp40 {CDM::CXXMethod, {"ARMAsmParser", "Error"}},
41 {CDM::CXXMethod, {"HexagonAsmParser", "Error"}},
42 {CDM::CXXMethod, {"LLLexer", "Error"}},
43 {CDM::CXXMethod, {"LLParser", "Error"}},
44 {CDM::CXXMethod, {"MCAsmParser", "Error"}},
45 {CDM::CXXMethod, {"MCAsmParserExtension", "Error"}},
46 {CDM::CXXMethod, {"TGParser", "Error"}},
47 {CDM::CXXMethod, {"X86AsmParser", "Error"}},
49 {CDM::CXXMethod, {"LLParser", "TokError"}},
50 {CDM::CXXMethod, {"MCAsmParser", "TokError"}},
[all …]
H A DInnerPointerChecker.cpp37 CallDescription(CDM::CXXMethod, {"std", "basic_string", "append"}),
38 CallDescription(CDM::CXXMethod, {"std", "basic_string", "assign"}),
39 CallDescription(CDM::CXXMethod, {"std", "basic_string", "clear"}),
40 CallDescription(CDM::CXXMethod, {"std", "basic_string", "erase"}),
41 CallDescription(CDM::CXXMethod, {"std", "basic_string", "insert"}),
42 CallDescription(CDM::CXXMethod, {"std", "basic_string", "pop_back"}),
43 CallDescription(CDM::CXXMethod, {"std", "basic_string", "push_back"}),
44 CallDescription(CDM::CXXMethod, {"std", "basic_string", "replace"}),
45 CallDescription(CDM::CXXMethod, {"std", "basic_string", "reserve"}),
46 CallDescription(CDM::CXXMethod, {"std", "basic_string", "resize"}),
[all …]
H A DContainerModeling.cpp74 {{CDM::CXXMethod, {"clear"}, 0}, &ContainerModeling::handleClear},
75 {{CDM::CXXMethod, {"assign"}, 2}, &ContainerModeling::handleAssign},
76 {{CDM::CXXMethod, {"push_back"}, 1}, &ContainerModeling::handlePushBack},
77 {{CDM::CXXMethod, {"emplace_back"}, 1},
79 {{CDM::CXXMethod, {"pop_back"}, 0}, &ContainerModeling::handlePopBack},
80 {{CDM::CXXMethod, {"push_front"}, 1},
82 {{CDM::CXXMethod, {"emplace_front"}, 1},
84 {{CDM::CXXMethod, {"pop_front"}, 0}, &ContainerModeling::handlePopFront},
88 {{CDM::CXXMethod, {"insert"}, 2}, &ContainerModeling::handleInsert},
89 {{CDM::CXXMethod, {"emplace"}, 2}, &ContainerModeling::handleInsert},
[all …]
H A DStdVariantChecker.cpp130 CallDescription VariantConstructor{CDM::CXXMethod,
132 CallDescription VariantAssignmentOperator{CDM::CXXMethod,
H A DStringChecker.cpp30 CDM::CXXMethod, {"std", "basic_string", "basic_string"}, 2, 2};
H A DSmartPtrModeling.cpp86 {{CDM::CXXMethod, {"reset"}}, &SmartPtrModeling::handleReset},
87 {{CDM::CXXMethod, {"release"}}, &SmartPtrModeling::handleRelease},
88 {{CDM::CXXMethod, {"swap"}, 1}, &SmartPtrModeling::handleSwapMethod},
89 {{CDM::CXXMethod, {"get"}}, &SmartPtrModeling::handleGet}};
H A DBlockInCriticalSectionChecker.cpp210 {/*MatchAs=*/CDM::CXXMethod,
213 {CDM::CXXMethod, {"std", /*"mutex",*/ "unlock"}, 0}),
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>;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp1164 if (auto CXXMethod = dyn_cast<CXXMethodDecl>(D)) { in ProcessAPINotes() local
1165 if (!isa<CXXConstructorDecl>(CXXMethod) && in ProcessAPINotes()
1166 !isa<CXXDestructorDecl>(CXXMethod) && in ProcessAPINotes()
1167 !isa<CXXConversionDecl>(CXXMethod) && in ProcessAPINotes()
1168 !CXXMethod->isOverloadedOperator()) { in ProcessAPINotes()
1172 Reader->lookupCXXMethod(Context->id, CXXMethod->getName()); in ProcessAPINotes()
1173 ProcessVersionedAPINotes(*this, CXXMethod, Info); in ProcessAPINotes()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp230 case Decl::CXXMethod: in fill()
245 if (K == Decl::CXXMethod || K == Decl::CXXConstructor || in fill()
H A DODRDiagsEmitter.cpp602 case Decl::CXXMethod: in FindTypeDiffs()
605 return CXXMethod; in FindTypeDiffs()
1046 case CXXMethod: { in diagnoseMismatch()
1614 case CXXMethod: in diagnoseMismatch()
2056 case CXXMethod: in diagnoseMismatch()
2185 case CXXMethod: in diagnoseMismatch()
H A DDeclBase.cpp876 case CXXMethod: in getIdentifierNamespaceForKind()
1252 if (getKind(D) == Decl::CXXMethod) { in getNonClosureContext()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp158 auto *CXXMethod = dyn_cast<CXXMethodDecl>(D); in getSelfDecl() local
159 if (!CXXMethod) in getSelfDecl()
162 const CXXRecordDecl *parent = CXXMethod->getParent(); in getSelfDecl()
H A DIssueHash.cpp102 case Decl::CXXMethod: in GetEnclosingDeclContextSignature()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h109 CXXMethod, enumerator
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp332 case Decl::CXXMethod: in getDefinitiveDeclContext()
386 case Decl::CXXMethod: in isRedeclarableDeclKind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallDescription.cpp122 if (MatchAs == Mode::CXXMethod && !isMethod) in matchesImpl()
H A DPlistDiagnostics.cpp717 case Decl::CXXMethod: in FlushDiagnosticsImpl()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallDescription.h57 CXXMethod, enumerator
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp223 case Decl::Kind::CXXMethod: in HandleNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp1051 for (const auto &CXXMethod : T.Methods) { in convertTagContext() local
1053 convertFunction(CXXMethod, MI); in convertTagContext()
1054 Writer.addCXXMethod(TagCtxID, CXXMethod.Name, MI, SwiftVersion); in convertTagContext()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp538 case Decl::CXXMethod: in emitDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp274 case Decl::CXXMethod: { in getSymbolInfo()

12