Lines Matching refs:TaintConfiguration

313 struct TaintConfiguration {  struct
341 TaintConfiguration() = default;
342 TaintConfiguration(const TaintConfiguration &) = default;
343 TaintConfiguration(TaintConfiguration &&) = default;
344 TaintConfiguration &operator=(const TaintConfiguration &) = default;
345 TaintConfiguration &operator=(TaintConfiguration &&) = default;
355 TaintConfiguration &&Config) const;
372 void parseConfig(const std::string &Option, TaintConfiguration::Sink &&P,
374 void parseConfig(const std::string &Option, TaintConfiguration::Filter &&P,
377 TaintConfiguration::Propagation &&P,
419 LLVM_YAML_IS_SEQUENCE_VECTOR(TaintConfiguration::Sink)
420 LLVM_YAML_IS_SEQUENCE_VECTOR(TaintConfiguration::Filter)
421 LLVM_YAML_IS_SEQUENCE_VECTOR(TaintConfiguration::Propagation)
425 template <> struct MappingTraits<TaintConfiguration> {
426 static void mapping(IO &IO, TaintConfiguration &Config) { in mapping()
433 template <> struct MappingTraits<TaintConfiguration::Sink> {
434 static void mapping(IO &IO, TaintConfiguration::Sink &Sink) { in mapping()
441 template <> struct MappingTraits<TaintConfiguration::Filter> {
442 static void mapping(IO &IO, TaintConfiguration::Filter &Filter) { in mapping()
449 template <> struct MappingTraits<TaintConfiguration::Propagation> {
450 static void mapping(IO &IO, TaintConfiguration::Propagation &Propagation) { in mapping()
460 template <> struct ScalarEnumerationTraits<TaintConfiguration::VariadicType> {
461 static void enumeration(IO &IO, TaintConfiguration::VariadicType &Value) { in enumeration()
462 IO.enumCase(Value, "None", TaintConfiguration::VariadicType::None); in enumeration()
463 IO.enumCase(Value, "Src", TaintConfiguration::VariadicType::Src); in enumeration()
464 IO.enumCase(Value, "Dst", TaintConfiguration::VariadicType::Dst); in enumeration()
513 TaintConfiguration::Sink &&S, in parseConfig()
521 TaintConfiguration::Filter &&S, in parseConfig()
529 TaintConfiguration::Propagation &&P, in parseConfig()
533 bool IsSrcVariadic = P.VarType == TaintConfiguration::VariadicType::Src; in parseConfig()
534 bool IsDstVariadic = P.VarType == TaintConfiguration::VariadicType::Dst; in parseConfig()
548 TaintConfiguration &&Config) const { in parseConfiguration()
817 std::optional<TaintConfiguration> Config = in initTaintRules()
818 getConfiguration<TaintConfiguration>(*Mgr, this, Option, ConfigFile); in initTaintRules()