Searched refs:FunctionSet (Results 1 – 6 of 6) sorted by relevance
/llvm-project/clang-tools-extra/clang-tidy/concurrency/ |
H A D | MtUnsafeCheck.cpp | 263 template <> struct OptionEnumMapping<concurrency::MtUnsafeCheck::FunctionSet> { 265 std::pair<concurrency::MtUnsafeCheck::FunctionSet, StringRef>> 267 static constexpr std::pair<concurrency::MtUnsafeCheck::FunctionSet, in getEnumMapping() 269 Mapping[] = {{concurrency::MtUnsafeCheck::FunctionSet::Posix, "posix"}, in getEnumMapping() 270 {concurrency::MtUnsafeCheck::FunctionSet::Glibc, "glibc"}, in getEnumMapping() 271 {concurrency::MtUnsafeCheck::FunctionSet::Any, "any"}}; in getEnumMapping() 279 hasAnyMtUnsafeNames(MtUnsafeCheck::FunctionSet Libc) { in hasAnyMtUnsafeNames() 281 case MtUnsafeCheck::FunctionSet::Posix: in hasAnyMtUnsafeNames() 283 case MtUnsafeCheck::FunctionSet::Glibc: in hasAnyMtUnsafeNames() 285 case MtUnsafeCheck::FunctionSet::Any: in hasAnyMtUnsafeNames() [all …]
|
H A D | MtUnsafeCheck.h | 27 enum class FunctionSet { enum 34 const FunctionSet FuncSet;
|
/llvm-project/clang-tools-extra/unittests/clang-doc/ |
H A D | SerializeTest.cpp | 420 FunctionInfo FunctionSet; in TEST() local 421 FunctionSet.Name = "set"; in TEST() 422 FunctionSet.ReturnType = TypeInfo("void"); in TEST() 423 FunctionSet.Loc.emplace_back(); in TEST() 424 FunctionSet.Params.emplace_back(TypeInfo("int"), "N"); in TEST() 425 FunctionSet.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST() 426 FunctionSet.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 428 FunctionSet.Access = AccessSpecifier::AS_protected; in TEST() 429 FunctionSet.IsMethod = true; in TEST() 431 std::move(FunctionSet)); in TEST() [all...] |
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | CalledValuePropagation.cpp | 59 /// The states of the lattice values. Only the FunctionSet state is 62 enum CVPLatticeStateTy { Undefined, FunctionSet, Overdefined, Untracked }; enumerator 75 : LatticeState(FunctionSet), Functions(std::move(Functions)) { in CVPLatticeVal() 80 /// of functions will be zero for states other than FunctionSet. 85 /// Returns true if the lattice value is in the FunctionSet state. 86 bool isFunctionSet() const { return LatticeState == FunctionSet; } in isFunctionSet() 149 /// FunctionSet values and a FunctionSet value with an Undefined value. For 201 OS << "FunctionSet"; in PrintLatticeVal() 234 return CVPLatticeVal(CVPLatticeVal::FunctionSet); in computeConstant() [all...] |
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/concurrency/ |
H A D | mt-unsafe.rst | 9 The set of functions to check is specified with the `FunctionSet` option. 35 .. option:: FunctionSet
|
/llvm-project/clang/unittests/Analysis/FlowSensitive/ |
H A D | TypeErasedDataflowAnalysisTest.cpp | 485 using FunctionSet = llvm::SmallSet<std::string, 8>; in transfer() 486 FunctionSet CalledFunctions; in transfer() 585 DescribeMatcher<FunctionCallLattice::FunctionSet>(m)) in TEST_F() 448 using FunctionSet = llvm::SmallSet<std::string, 8>; global() typedef
|