Skip to content

Commit 9eba6b0

Browse files
committed
wa: format files with clang-format
Files in agents/wnx were formatted using .clang-format config file. Change-Id: I59bc00119df1cdcd4cb5206ae076e02561169f9a
1 parent 4f3cf87 commit 9eba6b0

42 files changed

Lines changed: 145 additions & 145 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

agents/wnx/include/common/cmdline_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ inline ExeCommandLine ParseExeCommandLine(
9292

9393
// 3-rd param
9494
// what to execute
95-
}; // namespace cma
95+
}; // namespace cma::exe::cmdline

agents/wnx/include/common/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define VER_FILE_VERSION \
2525
VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
2626
#define VER_FILE_VERSION_STR \
27-
STRINGIZE(VERSION_MAJOR) \
27+
STRINGIZE(VERSION_MAJOR) \
2828
"." STRINGIZE(VERSION_MINOR) "." STRINGIZE( \
2929
VERSION_REVISION) "." STRINGIZE(VERSION_BUILD)
3030

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Copyright (C) 2019 Checkmk GmbH - License: GNU General Public License v2
2-
// This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
3-
// conditions defined in the file COPYING, which is part of this source code package.
2+
// This file is part of Checkmk (https://checkmk.com). It is subject to the
3+
// terms and conditions defined in the file COPYING, which is part of this
4+
// source code package.
45

56
// SPECIAL INCLUDE FOR Configurable.h
67
#ifndef ConfigurableTrash_h__
78
#define ConfigurableTrash_h__
89

9-
virtual void output(const std::string &key,
10-
std::ostream &out) const override {
11-
for (const auto & [var, value] : this->values()) {
12-
out << key << " " << var << " = " << value << "\n";
13-
}
10+
virtual void output(const std::string &key, std::ostream &out) const override {
11+
for (const auto &[var, value] : this->values()) {
12+
out << key << " " << var << " = " << value << "\n";
1413
}
14+
}
1515
#endif // ConfigurableTrash_h__

agents/wnx/include/lwa/stringutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <codecvt>
1010
#include <cstdint>
1111
#include <iostream>
12-
//#include <locale>
12+
// #include <locale>
1313
#include <array>
1414
#include <cctype>
1515
#include <regex>

agents/wnx/include/lwa/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929

3030
#ifndef INVALID_HANDLE_VALUE
31-
#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)
31+
#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR) - 1)
3232
#endif // INVALID_HANDLE_VALUE
3333

3434
class script_statistics_t {

agents/wnx/include/lwa/win_error.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (C) 2019 Checkmk GmbH - License: GNU General Public License v2
2-
// This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
3-
// conditions defined in the file COPYING, which is part of this source code package.
2+
// This file is part of Checkmk (https://checkmk.com). It is subject to the
3+
// terms and conditions defined in the file COPYING, which is part of this
4+
// source code package.
45

56
#ifndef win_error_h
67
#define win_error_h

agents/wnx/include/providers/mrpe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include <string_view>
1313
#include <utility>
1414

15-
#include "wnx/cma_core.h"
1615
#include "providers/internal.h"
16+
#include "wnx/cma_core.h"
1717
#include "wnx/section_header.h"
1818

1919
namespace cma::provider {

agents/wnx/include/providers/ohm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#include <string>
1212
#include <string_view>
1313

14-
#include "wnx/cma_core.h"
1514
#include "providers/internal.h"
1615
#include "providers/wmi.h"
16+
#include "wnx/cma_core.h"
1717
#include "wnx/section_header.h"
1818

1919
namespace cma::provider {

agents/wnx/include/providers/plugins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <string>
1111
#include <string_view>
1212

13-
#include "wnx/cma_core.h"
1413
#include "providers/internal.h"
14+
#include "wnx/cma_core.h"
1515
#include "wnx/section_header.h"
1616

1717
namespace cma::provider {

agents/wnx/include/providers/spool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <string>
1212
#include <string_view>
1313

14-
#include "wnx/cma_core.h"
1514
#include "providers/internal.h"
15+
#include "wnx/cma_core.h"
1616
#include "wnx/section_header.h"
1717

1818
namespace cma::provider {

0 commit comments

Comments
 (0)