projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.clang-tidy: remove modernize-concat-nested-namespaces
[lttng-tools.git]
/
tests
/
utils
/
xml-utils
/
extract_xml.cpp
diff --git
a/tests/utils/xml-utils/extract_xml.cpp
b/tests/utils/xml-utils/extract_xml.cpp
index ad319d3c46c10c01cda3cebd62ba92ef8fbf9993..280f2ed0284b80736ce92485479c488ce75aad1b 100644
(file)
--- a/
tests/utils/xml-utils/extract_xml.cpp
+++ b/
tests/utils/xml-utils/extract_xml.cpp
@@
-38,6
+38,8
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
+namespace ll = lttng::libxml;
+
#if defined(LIBXML_XPATH_ENABLED)
static int opt_verbose;
#if defined(LIBXML_XPATH_ENABLED)
static int opt_verbose;
@@
-178,7
+180,7
@@
static int extract_xpath(const char *xml_path, const xmlChar *xpath)
LTTNG_ASSERT(xml_path);
LTTNG_ASSERT(xpath);
LTTNG_ASSERT(xml_path);
LTTNG_ASSERT(xpath);
-
xml_
parser_ctx_uptr parserCtx{ xmlNewParserCtxt() };
+
ll::
parser_ctx_uptr parserCtx{ xmlNewParserCtxt() };
if (!parserCtx) {
fprintf(stderr, "ERR: could not allocate an XML parser context\n");
if (!parserCtx) {
fprintf(stderr, "ERR: could not allocate an XML parser context\n");
This page took
0.023229 seconds
and
4
git commands to generate.