Home
last modified time | relevance | path

Searched refs:FunctionSet (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/concurrency/
H A DMtUnsafeCheck.cpp264 template <> struct OptionEnumMapping<concurrency::MtUnsafeCheck::FunctionSet> {
266 std::pair<concurrency::MtUnsafeCheck::FunctionSet, StringRef>>
268 static constexpr std::pair<concurrency::MtUnsafeCheck::FunctionSet, in getEnumMapping()
270 Mapping[] = {{concurrency::MtUnsafeCheck::FunctionSet::Posix, "posix"}, in getEnumMapping()
271 {concurrency::MtUnsafeCheck::FunctionSet::Glibc, "glibc"}, in getEnumMapping()
272 {concurrency::MtUnsafeCheck::FunctionSet::Any, "any"}}; in getEnumMapping()
280 hasAnyMtUnsafeNames(MtUnsafeCheck::FunctionSet Libc) { in hasAnyMtUnsafeNames()
282 case MtUnsafeCheck::FunctionSet::Posix: in hasAnyMtUnsafeNames()
284 case MtUnsafeCheck::FunctionSet::Glibc: in hasAnyMtUnsafeNames()
286 case MtUnsafeCheck::FunctionSet::Any: in hasAnyMtUnsafeNames()
[all …]
H A DMtUnsafeCheck.h29 enum class FunctionSet { enum
36 const FunctionSet FuncSet;
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DSerializeTest.cpp387 FunctionInfo FunctionSet; in TEST() local
388 FunctionSet.Name = "set"; in TEST()
389 FunctionSet.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
390 FunctionSet.Loc.emplace_back(); in TEST()
391 FunctionSet.Params.emplace_back("int", "N"); in TEST()
392 FunctionSet.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
393 FunctionSet.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
395 FunctionSet.Access = AccessSpecifier::AS_protected; in TEST()
396 FunctionSet.IsMethod = true; in TEST()
397 ExpectedE.Bases.back().ChildFunctions.emplace_back(std::move(FunctionSet)); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp63 enum CVPLatticeStateTy { Undefined, FunctionSet, Overdefined, Untracked }; enumerator
76 : LatticeState(FunctionSet), Functions(std::move(Functions)) { in CVPLatticeVal()
87 bool isFunctionSet() const { return LatticeState == FunctionSet; } in isFunctionSet()
234 return CVPLatticeVal(CVPLatticeVal::FunctionSet); in computeConstant()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/concurrency/
H A Dmt-unsafe.rst9 The set of functions to check is specified with the `FunctionSet` option.
35 .. option:: FunctionSet