projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f59edc7
)
Clean-up: modernize pretty_xml.cpp
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Wed, 1 May 2024 15:21:04 +0000
(11:21 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Wed, 1 May 2024 16:08:00 +0000
(16:08 +0000)
Since pretty_xml was converted to C++, clang-tidy had a number of
grievances such as the use of NULL (instead of nullptr).
Since the file is very small, it is modernized to address those issues:
- Wrap libxml2 resources in RAII wrappers
- Use C++ IO APIs in lieu of fprintf
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie90e3e05130f7916f411e0de36e8aac72a0f790c
No differences found
This page took
0.024601 seconds
and
4
git commands to generate.