| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 71 ObjKind K; in hasAnyEnabledAttrOf() 77 K = ObjKind::CF; in hasAnyEnabledAttrOf() 89 K = ObjKind::ObjC; in hasAnyEnabledAttrOf() 96 K = ObjKind::OS; in hasAnyEnabledAttrOf() 100 K = ObjKind::Generalized; in hasAnyEnabledAttrOf() 643 ObjKind K = ObjKind::AnyObj; in updateSummaryForArgumentTypes() 648 K = ObjKind::OS; in updateSummaryForArgumentTypes() 650 K = ObjKind::ObjC; in updateSummaryForArgumentTypes() 652 K = ObjKind::CF; in updateSummaryForArgumentTypes() 655 if (K != ObjKind::AnyObj) in updateSummaryForArgumentTypes() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | RetainSummaryManager.h | 36 enum class ObjKind { enum 121 ObjKind O; 123 explicit ArgEffect(ArgEffectKind K = DoNothing, ObjKind O = ObjKind::AnyObj) 127 ObjKind getObjKind() const { return O; } in getObjKind() 168 ObjKind O; 170 RetEffect(Kind k, ObjKind o = ObjKind::AnyObj) : K(k), O(o) {} in K() 175 ObjKind getObjKind() const { return O; } in getObjKind() 190 return RetEffect(OwnedWhenTrackedReceiver, ObjKind::ObjC); in MakeOwnedWhenTrackedReceiver() 193 static RetEffect MakeOwned(ObjKind o) { in MakeOwned() 196 static RetEffect MakeNotOwned(ObjKind o) { in MakeNotOwned() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.h | 62 ObjKind, enumerator 74 return k == ObjKind || k == SharedKind; in isElf() 84 assert(fileKind == ObjKind || fileKind == BinaryKind); in getSections() 91 assert(fileKind == BinaryKind || fileKind == ObjKind || in getSymbols() 97 assert(fileKind == BinaryKind || fileKind == ObjKind || in getMutableSymbols() 228 static bool classof(const InputFile *f) { return f->kind() == ObjKind; } in LLVM_ELF_IMPORT_TYPES_ELFT() 235 : ELFFileBase(ObjKind, ekind, m) { in ObjFile()
|
| H A D | InputFiles.cpp | 309 if (file->kind() == InputFile::ObjKind) { in doParseFile() 369 if (kind() != ObjKind) in getSrcMsg()
|
| H A D | Relocations.cpp | 598 if (sym.file && sym.file->kind() == InputFile::ObjKind) { in getAlternativeSpelling()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 188 ObjKind K; in checkPostStmt() 190 K = ObjKind::ObjC; in checkPostStmt() 192 K = ObjKind::CF; in checkPostStmt() 299 ObjKind Kind; in checkPostStmt() 301 Kind = ObjKind::ObjC; in checkPostStmt() 303 Kind = ObjKind::CF; in checkPostStmt() 437 if (TrackedValue->getObjKind() != ObjKind::OS) in shouldEscapeOSArgumentOnCall() 626 Effect = ArgEffect(StopTrackingHard, ObjKind::OS); in checkSummary() 1354 ObjKind K = AE->getObjKind(); in checkBeginFunction() 1355 if (K == ObjKind::Generalized || K == ObjKind::OS || in checkBeginFunction() [all …]
|
| H A D | RetainCountChecker.h | 109 RefVal(Kind k, ObjKind o, unsigned cnt, unsigned acnt, QualType t, in RefVal() 122 ObjKind getObjKind() const { in getObjKind() 123 return static_cast<ObjKind>(RawObjectKind); in getObjKind() 171 static RefVal makeOwned(ObjKind o, QualType t) { in makeOwned() 179 static RefVal makeNotOwned(ObjKind o, QualType t) { in makeNotOwned()
|
| H A D | RetainCountDiagnostics.cpp | 263 if (CurrV.getObjKind() == ObjKind::CF) { in generateDiagnosticsForCallLike() 265 } else if (CurrV.getObjKind() == ObjKind::OS) { in generateDiagnosticsForCallLike() 268 } else if (CurrV.getObjKind() == ObjKind::Generalized) { in generateDiagnosticsForCallLike() 271 assert(CurrV.getObjKind() == ObjKind::ObjC); in generateDiagnosticsForCallLike() 813 ObjKind K = RV->getObjKind(); in getEndPath() 814 if (K == ObjKind::ObjC || K == ObjKind::CF) { in getEndPath() 821 } else if (RV->getObjKind() == ObjKind::OS) { in getEndPath()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1457 if (Ret.getObjKind() == ObjKind::CF) { in AddCFAnnotations() 1464 else if (Ret.getObjKind() == ObjKind::ObjC) { in AddCFAnnotations() 1480 if (AE.getKind() == DecRef && AE.getObjKind() == ObjKind::CF && in AddCFAnnotations() 1486 } else if (AE.getKind() == DecRef && AE.getObjKind() == ObjKind::ObjC && in AddCFAnnotations() 1518 if (Ret.getObjKind() == ObjKind::CF && in migrateAddFunctionAnnotation() 1533 AE.getKind() == IncRef) && AE.getObjKind() == ObjKind::CF) { in migrateAddFunctionAnnotation() 1570 if (Ret.getObjKind() == ObjKind::CF) { in AddCFAnnotations() 1577 else if (Ret.getObjKind() == ObjKind::ObjC) { in AddCFAnnotations() 1606 && AE.getObjKind() == ObjKind::CF in AddCFAnnotations() 1649 if ((Ret.getObjKind() == ObjKind::CF || in migrateAddMethodAnnotation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | InputFiles.h | 108 ObjKind, enumerator 171 static bool classof(const InputFile *f) { return f->kind() == ObjKind; } in classof()
|
| H A D | SymbolTable.cpp | 501 if (sym.getFile() && sym.getFile()->kind() == InputFile::ObjKind) { in getAlternativeSpelling()
|
| H A D | InputFiles.cpp | 969 : InputFile(ObjKind, mb, lazy), modTime(modTime), forceHidden(forceHidden), in ObjFile()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AArch64.cpp | 1037 if (file->kind() != InputFile::ObjKind) in createTaggedSymbols() 1054 file->kind() != InputFile::ObjKind) in createTaggedSymbols()
|