History log of /openbmc/witherspoon-pfault-analysis/names_values.hpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 98473dbc 01-Jun-2023 Patrick Williams <patrick@stwcx.xyz>

fix GCC 13 issues

The latest version of GCC raises two issues:

- cstdint is not included automatically as often so we need to
explicitly include it whenever using `uint*` class types.

fix GCC 13 issues

The latest version of GCC raises two issues:

- cstdint is not included automatically as often so we need to
explicitly include it whenever using `uint*` class types.

- Certain move operations are detected as unnecessary and subverting
RVO.

Fix both of these issues.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4124c91c8e5cce3b85a6284d3cc8dfc2a8494a76

show more ...


# f0f02b9a 25-Oct-2018 Matt Spinler <spinler@us.ibm.com>

Start using .clang-format

Used the one from docs/style/cpp.

Change-Id: I3bdc2b353bf18a437266b362d8205b8463a9ce2b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>


# 83abbd6f 25-Sep-2017 Brandon Wyman <bjwyman@gmail.com>

Add missing pragma once to top of header file

While starting to work on code that uses NamesValues I ran into a class
redefinition compile failure due to this missing line.

Change-Id: Ic8fe28a47af4

Add missing pragma once to top of header file

While starting to work on code that uses NamesValues I ran into a class
redefinition compile failure due to this missing line.

Change-Id: Ic8fe28a47af4cdefe277f2c03e78a26ab3b83c1b
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 3b090d14 08-Sep-2017 Matt Spinler <spinler@us.ibm.com>

Add helper class to handle PMBus metadata

Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.

It allows one to add multiple name/value pairs to
the obje

Add helper class to handle PMBus metadata

Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.

It allows one to add multiple name/value pairs to
the object, and provides a get() method to return them
all concatenated.

It currently supports numeric values, up to a uint64_t,
but more types could be added if ever necessary.

The resulting string will look like:
"name1=value1|name2=value2|etc"

Change-Id: I4def8ac313882a0b9efc7cb33488f19ad33f1727
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...