Searched hist:"24 b2fe810e784f04728379f49af54a3ab2252c9b" (Results 1 – 5 of 5) sorted by relevance
/openbmc/bmcweb/ |
H A D | .clang-tidy | 24b2fe810e784f04728379f49af54a3ab2252c9b Thu Jan 06 14:45:54 CST 2022 Ed Tanous <edtanous@google.com> enable bugprone exception escape check
clang-13 includes new checks, and finds some issues. The first is that the boost::vector constructor can possibly throw, so replace the underlying flat_map container with std::vector instead.
The others are places where we could possibly throw in destructors, which would be bad. Ideally we wouldn't use the destructor pattern, but that would be non-trivial to clean up at this point, so just catch the exception, and log it. At the same time, catch exceptions thrown to main and log them.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I77b86eaa2fc79e43d1ca044c78ca3b0ce0a7c38c
|
/openbmc/bmcweb/include/ |
H A D | dbus_monitor.hpp | 24b2fe810e784f04728379f49af54a3ab2252c9b Thu Jan 06 14:45:54 CST 2022 Ed Tanous <edtanous@google.com> enable bugprone exception escape check
clang-13 includes new checks, and finds some issues. The first is that the boost::vector constructor can possibly throw, so replace the underlying flat_map container with std::vector instead.
The others are places where we could possibly throw in destructors, which would be bad. Ideally we wouldn't use the destructor pattern, but that would be non-trivial to clean up at this point, so just catch the exception, and log it. At the same time, catch exceptions thrown to main and log them.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I77b86eaa2fc79e43d1ca044c78ca3b0ce0a7c38c
|
H A D | openbmc_dbus_rest.hpp | 24b2fe810e784f04728379f49af54a3ab2252c9b Thu Jan 06 14:45:54 CST 2022 Ed Tanous <edtanous@google.com> enable bugprone exception escape check
clang-13 includes new checks, and finds some issues. The first is that the boost::vector constructor can possibly throw, so replace the underlying flat_map container with std::vector instead.
The others are places where we could possibly throw in destructors, which would be bad. Ideally we wouldn't use the destructor pattern, but that would be non-trivial to clean up at this point, so just catch the exception, and log it. At the same time, catch exceptions thrown to main and log them.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I77b86eaa2fc79e43d1ca044c78ca3b0ce0a7c38c
|
/openbmc/bmcweb/src/ |
H A D | webserver_main.cpp | 24b2fe810e784f04728379f49af54a3ab2252c9b Thu Jan 06 14:45:54 CST 2022 Ed Tanous <edtanous@google.com> enable bugprone exception escape check
clang-13 includes new checks, and finds some issues. The first is that the boost::vector constructor can possibly throw, so replace the underlying flat_map container with std::vector instead.
The others are places where we could possibly throw in destructors, which would be bad. Ideally we wouldn't use the destructor pattern, but that would be non-trivial to clean up at this point, so just catch the exception, and log it. At the same time, catch exceptions thrown to main and log them.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I77b86eaa2fc79e43d1ca044c78ca3b0ce0a7c38c
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | managers.hpp | 24b2fe810e784f04728379f49af54a3ab2252c9b Thu Jan 06 14:45:54 CST 2022 Ed Tanous <edtanous@google.com> enable bugprone exception escape check
clang-13 includes new checks, and finds some issues. The first is that the boost::vector constructor can possibly throw, so replace the underlying flat_map container with std::vector instead.
The others are places where we could possibly throw in destructors, which would be bad. Ideally we wouldn't use the destructor pattern, but that would be non-trivial to clean up at this point, so just catch the exception, and log it. At the same time, catch exceptions thrown to main and log them.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I77b86eaa2fc79e43d1ca044c78ca3b0ce0a7c38c
|