Home
last modified time | relevance | path

Searched refs:MethodName (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.cpp73 QualType findReturnType(const CXXRecordDecl &RD, StringRef MethodName) { in findReturnType() argument
82 if (II && II->isStr(MethodName)) in findReturnType()
101 clang::StringRef, MethodName) { in AST_MATCHER_P() argument
105 return getLikeReturnType(findReturnType(Node, MethodName)) == RT; in AST_MATCHER_P()
109 clang::StringRef, MethodName) { in AST_MATCHER_P() argument
113 return valueLikeReturnType(findReturnType(Node, MethodName)) == RT; in AST_MATCHER_P()
165 isSmartPointerLikeValueMethodCall(clang::StringRef MethodName) { in isSmartPointerLikeValueMethodCall() argument
168 hasName(MethodName), in isSmartPointerLikeValueMethodCall()
169 ofClass(smartPointerClassWithValueLike(MethodName))))); in isSmartPointerLikeValueMethodCall()
173 isSmartPointerLikeGetMethodCall(clang::StringRef MethodName) { in isSmartPointerLikeGetMethodCall() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefCallArgsChecker.cpp316 auto MethodName = safeGetName(Decl); in isMethodOnWTFContainerType() local
322 (MethodName == "find" || MethodName == "findIf" || in isMethodOnWTFContainerType()
323 MethodName == "reverseFind" || MethodName == "reverseFindIf" || in isMethodOnWTFContainerType()
324 MethodName == "findIgnoringASCIICase" || MethodName == "get" || in isMethodOnWTFContainerType()
325 MethodName == "inlineGet" || MethodName == "contains" || in isMethodOnWTFContainerType()
326 MethodName == "containsIf" || in isMethodOnWTFContainerType()
327 MethodName == "containsIgnoringASCIICase" || in isMethodOnWTFContainerType()
328 MethodName == "startsWith" || MethodName == "endsWith" || in isMethodOnWTFContainerType()
329 MethodName == "startsWithIgnoringASCIICase" || in isMethodOnWTFContainerType()
330 MethodName == "endsWithIgnoringASCIICase" || in isMethodOnWTFContainerType()
[all …]
H A DRawPtrRefLocalVarsChecker.cpp83 auto MethodName = safeGetName(MCE->getMethodDecl()); in VisitCXXMemberCallExpr() local
84 if (MethodName == "swap" || MethodName == "leakRef" || in VisitCXXMemberCallExpr()
85 MethodName == "releaseNonNull" || MethodName == "clear") { in VisitCXXMemberCallExpr()
H A DPtrTypesSemantics.cpp29 const auto MethodName = safeGetName(MD); in hasPublicMethodInBaseClass() local
30 if (MethodName == NameToMatch && MD->getAccess() == AS_public) in hasPublicMethodInBaseClass()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbol.h18 #define FORWARD_SYMBOL_METHOD(MethodName) \ argument
19 decltype(auto) MethodName() const { return RawSymbol->MethodName(); }
35 #define FORWARD_SYMBOL_ID_METHOD(MethodName) \ argument
36 FORWARD_SYMBOL_ID_METHOD_WITH_NAME(MethodName, MethodName)
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.h28 class CxxMethodName : public Language::MethodName {
30 CxxMethodName(ConstString s) : Language::MethodName(s) {} in CxxMethodName()
58 virtual std::unique_ptr<Language::MethodName>
H A DCPlusPlusLanguage.cpp67 std::unique_ptr<Language::MethodName>
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DLanguage.h218 class MethodName {
220 MethodName() {} in MethodName() function
222 MethodName(ConstString full) in MethodName() function
227 virtual ~MethodName() {}; in ~MethodName()
306 virtual std::unique_ptr<Language::MethodName>
308 return std::make_unique<Language::MethodName>(name); in GetMethodName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp519 std::string MethodName = MethodDec->getName().lower(); in isStateResetMethod() local
522 if (MethodName == "assign" || MethodName == "clear" || in isStateResetMethod()
523 MethodName == "destroy" || MethodName == "reset" || in isStateResetMethod()
524 MethodName == "resize" || MethodName == "shrink") in isStateResetMethod()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.h66 isSmartPointerLikeValueMethodCall(clang::StringRef MethodName = "value");
68 isSmartPointerLikeGetMethodCall(clang::StringRef MethodName = "get");
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmextern.c518 char *MethodName; in AcpiDmGetExternalsFromFile() local
554 MethodName = strtok (NULL, METHOD_SEPARATORS); /* Method namepath */ in AcpiDmGetExternalsFromFile()
555 if (!MethodName) in AcpiDmGetExternalsFromFile()
596 AslGbl_ExternalRefFilename, ArgCount, MethodName); in AcpiDmGetExternalsFromFile()
598 AcpiDmAddPathToExternalList (MethodName, ACPI_TYPE_METHOD, in AcpiDmGetExternalsFromFile()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DConsumed.h122 virtual void warnUseOfTempInInvalidState(StringRef MethodName, in warnUseOfTempInInvalidState() argument
136 virtual void warnUseInInvalidState(StringRef MethodName, in warnUseInInvalidState() argument
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp35 StringRef MethodName) { in mangleObjCMethodName() argument
45 OS << MethodName; in mangleObjCMethodName()
397 std::string MethodName; in mangleObjCMethodName() local
398 llvm::raw_string_ostream MethodNameOS(MethodName); in mangleObjCMethodName()
401 ClassName, CategoryName, MethodName); in mangleObjCMethodName()
H A DVTableBuilder.cpp2183 std::string MethodName = PredefinedExpr::ComputeName( in dumpLayout() local
2186 MethodNamesAndDecls.insert(std::make_pair(MethodName, MD)); in dumpLayout()
2190 const std::string &MethodName = I.first; in dumpLayout() local
2198 Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size(); in dumpLayout()
2247 std::string MethodName = PredefinedExpr::ComputeName( in dumpLayout() local
2254 IndicesMap[VTableIndex] = MethodName + " [complete]"; in dumpLayout()
2255 IndicesMap[VTableIndex + 1] = MethodName + " [deleting]"; in dumpLayout()
2258 IndicesMap[MethodVTableIndices[MD]] = MethodName; in dumpLayout()
2270 const std::string &MethodName = I.second; in dumpLayout() local
2272 Out << llvm::format("%4" PRIu64 " | ", VTableIndex) << MethodName in dumpLayout()
[all …]
H A DODRDiagsEmitter.cpp930 MethodName, in diagnoseMismatch() enumerator
1080 DiagMethodError(MethodName); in diagnoseMismatch()
1081 DiagMethodNote(MethodName); in diagnoseMismatch()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DRichManglingContext.h71 std::unique_ptr<Language::MethodName> m_cxx_method_parser;
/freebsd/sys/contrib/dev/acpica/include/
H A Dachware.h241 char *MethodName,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DPredicateExpander.h78 void expandTIIFunctionCall(raw_ostream &OS, StringRef MethodName);
H A DPredicateExpander.cpp199 StringRef MethodName) { in expandTIIFunctionCall() argument
202 OS << MethodName << (isByRef() ? "(MI)" : "(*MI)"); in expandTIIFunctionCall()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h48 StringRef MethodName);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp2363 void warnUseOfTempInInvalidState(StringRef MethodName, StringRef State, in warnUseOfTempInInvalidState() argument
2367 diag::warn_use_of_temp_in_invalid_state) << MethodName << State); in warnUseOfTempInInvalidState()
2372 void warnUseInInvalidState(StringRef MethodName, StringRef VariableName, in warnUseInInvalidState() argument
2376 MethodName << VariableName << State); in warnUseInInvalidState()
H A DSemaLambda.cpp1002 DeclarationName MethodName = in CreateLambdaCallOperator() local
1008 DeclarationNameInfo(MethodName, IntroducerRange.getBegin(), in CreateLambdaCallOperator()
H A DSemaDeclObjC.cpp3682 std::string MethodName = Method->getSelector().getAsString(); in HelperSelectorsForTypoCorrection() local
3684 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3688 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3372 SmallString<256> MethodName; in getOrCreateVirtualFunctionPointerThunk() local
3373 llvm::raw_svector_ostream Out(MethodName); in getOrCreateVirtualFunctionPointerThunk()
3375 MethodName += "_vfpthunk_"; in getOrCreateVirtualFunctionPointerThunk()
3376 StringRef ThunkName = MethodName.str(); in getOrCreateVirtualFunctionPointerThunk()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp781 std::unique_ptr<Language::MethodName> cpp_method = in Prune()

12