Applied google-readability-namespace-comments clang-tidy fixes
This commit is contained in:
@@ -82,5 +82,5 @@ private:
|
||||
/// All the A pointers
|
||||
std::vector<A *> as;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00002
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -53,5 +53,5 @@ private:
|
||||
};
|
||||
|
||||
int A::static_int = 1;
|
||||
}
|
||||
}
|
||||
} // namespace t00003
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -51,5 +51,5 @@ public:
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace t00004
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -51,5 +51,5 @@ public:
|
||||
volatile J *j;
|
||||
mutable K *k;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00005
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -80,5 +80,5 @@ public:
|
||||
|
||||
std::tuple<N, NN, NNN> ns;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00006
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -17,5 +17,5 @@ public:
|
||||
std::shared_ptr<B> b;
|
||||
std::weak_ptr<C> c;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00007
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -32,5 +32,5 @@ struct D {
|
||||
|
||||
void add(int i) { ints.template_template.values.push_back(i); }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00008
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -15,5 +15,5 @@ public:
|
||||
A<std::string> *astring;
|
||||
A<std::vector<std::string>> &avector;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00009
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -19,5 +19,5 @@ class C {
|
||||
public:
|
||||
B<int> aintstring;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00010
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -29,5 +29,5 @@ public:
|
||||
void foo() { m_a->foo(); }
|
||||
A *m_a;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00011
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -32,5 +32,5 @@ class R {
|
||||
3>
|
||||
c1;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00012
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -62,5 +62,5 @@ public:
|
||||
private:
|
||||
mutable E<std::string> estring;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00013
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -76,5 +76,5 @@ public:
|
||||
VoidCallback vcb;
|
||||
VectorPtr<B> vps;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00014
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace {
|
||||
class Anon final : public A {
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace ns1
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
@@ -28,5 +28,5 @@ class Anon : public t00015::ns1::A {
|
||||
class B : public ns1::ns2::Anon {
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace t00015
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -24,5 +24,5 @@ template <> struct is_numeric<int> {
|
||||
template <> struct is_numeric<bool> {
|
||||
enum { value = false };
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00016
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -62,5 +62,5 @@ private:
|
||||
volatile J *j;
|
||||
mutable K *k;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00017
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -18,5 +18,5 @@ widget::widget(widget &&) = default;
|
||||
widget::~widget() = default;
|
||||
|
||||
widget &widget::operator=(widget &&) = default;
|
||||
}
|
||||
}
|
||||
} // namespace t00018
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -21,6 +21,6 @@ void widget::draw(const clanguml::t00018::widget &w)
|
||||
if (w.shown())
|
||||
std::cout << "drawing a non-const widget " << n << '\n';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace impl
|
||||
} // namespace t00018
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -66,5 +66,5 @@ public:
|
||||
return std::make_unique<ProductB2>();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00020
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -46,5 +46,5 @@ class B : public Item {
|
||||
public:
|
||||
void accept(const Visitor &visitor) const override { }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00021
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -27,5 +27,5 @@ protected:
|
||||
void method1() override { }
|
||||
void method2() override { }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00022
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -36,5 +36,5 @@ public:
|
||||
private:
|
||||
std::unique_ptr<Strategy> m_strategy;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00023
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -35,5 +35,5 @@ public:
|
||||
private:
|
||||
std::shared_ptr<Target> m_target;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00024
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -33,5 +33,5 @@ public:
|
||||
Proxy<Target1> proxy1;
|
||||
Proxy<Target2> proxy2;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00025
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -54,5 +54,5 @@ struct StringMemento {
|
||||
Caretaker<std::string> caretaker;
|
||||
Originator<std::string> originator;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00026
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -51,5 +51,5 @@ struct Window {
|
||||
Text<Color, Weight> title;
|
||||
Text<Color> description;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00027
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -18,8 +18,8 @@ struct B {
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace ns11
|
||||
} // namespace ns1
|
||||
|
||||
namespace ns2 {
|
||||
namespace ns22 {
|
||||
|
||||
@@ -49,5 +49,5 @@ public:
|
||||
|
||||
void foo(::AA &aa) { (void)aa; }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace ns2
|
||||
} // namespace ns1
|
||||
|
||||
@@ -39,5 +39,5 @@ public:
|
||||
|
||||
void foo(::AA &aa) { (void)aa; }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace ns2
|
||||
} // namespace ns1
|
||||
|
||||
@@ -22,5 +22,5 @@ struct conditional_t<std::false_type, Result, Tail...> {
|
||||
template <typename... Ts>
|
||||
using conditional = typename conditional_t<Ts...>::type;
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace t00047
|
||||
} // namespace clanguml
|
||||
@@ -19,5 +19,5 @@ struct R {
|
||||
|
||||
void set_int_map(A<std::map<int, int>> &&int_map) { a_int_map = int_map; }
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace t00049
|
||||
} // namespace clanguml
|
||||
@@ -99,5 +99,5 @@ class G {
|
||||
class NoComment {
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace t00050
|
||||
} // namespace clanguml
|
||||
@@ -11,4 +11,4 @@ int foo() { return foo1(); }
|
||||
|
||||
int foo22() { return 22; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::t40002::lib2
|
||||
Reference in New Issue
Block a user