MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / ValueFlow

Class ValueFlow

addons/cppcheckdata.py:918–942  ·  view source on GitHub ↗

ValueFlow::Value class Each possible value has a ValueFlow::Value item. Each ValueFlow::Value either has a intvalue or tokvalue C++ class: https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html Attributes: values Possible values

Source from the content-addressed store, hash-verified

916
917
918class ValueFlow:
919 """
920 ValueFlow::Value class
921 Each possible value has a ValueFlow::Value item.
922 Each ValueFlow::Value either has a intvalue or tokvalue
923 C++ class:
924 https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html
925
926 Attributes:
927 values Possible values
928 """
929
930 Id = None
931 values = None
932
933 def __init__(self, element):
934 self.Id = element.get('id')
935 self.values = []
936
937 def __repr__(self):
938 attrs = ["Id", "values"]
939 return "{}({})".format(
940 "ValueFlow",
941 ", ".join(("{}={}".format(a, repr(getattr(self, a))) for a in attrs))
942 )
943
944
945class Suppression:

Callers 1

iterconfigurationsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected