Skip to content

Commit 96ec447

Browse files
committed
[NFC] Fix various unintentional //namespace formatting
1 parent aa64a82 commit 96ec447

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/absl/external-file.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ namespace absl {
22
namespace base_internal {
33
void InternalFunction() {}
44
} // namespace base_internal
5-
} //namespace absl
5+
} // namespace absl
66
void DirectAccess2() { absl::base_internal::InternalFunction(); }

clang-tools-extra/test/clang-tidy/checkers/abseil/faster-strsplit-delimiter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct MaxSplitsImpl {
1414
MaxSplitsImpl();
1515
~MaxSplitsImpl();
1616
};
17-
} //namespace strings_internal
17+
} // namespace strings_internal
1818

1919
template <typename Delim>
2020
strings_internal::Splitter StrSplit(absl::string_view, Delim) {
@@ -36,7 +36,7 @@ strings_internal::MaxSplitsImpl MaxSplits(Delim, int) {
3636
return {};
3737
}
3838

39-
} //namespace absl
39+
} // namespace absl
4040

4141
void SplitDelimiters() {
4242
absl::StrSplit("ABC", "A");

clang-tools-extra/test/clang-tidy/checkers/modernize/concat-nested-namespaces.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ namespace n47 {
178178
void foo() {}
179179
} // namespace n47
180180
#pragma clang diagnostic pop
181-
} //namespace n46
181+
} // namespace n46
182182
#undef N45_INNER
183-
} //namespace n45
183+
} // namespace n45
184184
// CHECK-FIXES-NORMAL: #define N45_INNER
185185
// CHECK-FIXES-NORMAL: #pragma clang diagnostic push
186186
// CHECK-FIXES-NORMAL: namespace n45::n46::n47 {

clang/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DebugContainerModeling
5252
bool evalCall(const CallEvent &Call, CheckerContext &C) const;
5353
};
5454

55-
} //namespace
55+
} // namespace
5656

5757
bool DebugContainerModeling::evalCall(const CallEvent &Call,
5858
CheckerContext &C) const {

clang/lib/StaticAnalyzer/Checkers/DebugIteratorModeling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class DebugIteratorModeling
5555
bool evalCall(const CallEvent &Call, CheckerContext &C) const;
5656
};
5757

58-
} //namespace
58+
} // namespace
5959

6060
bool DebugIteratorModeling::evalCall(const CallEvent &Call,
6161
CheckerContext &C) const {

clang/lib/StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class InvalidatedIteratorChecker
4747

4848
};
4949

50-
} //namespace
50+
} // namespace
5151

5252
void InvalidatedIteratorChecker::checkPreCall(const CallEvent &Call,
5353
CheckerContext &C) const {

clang/lib/StaticAnalyzer/Checkers/IteratorRangeChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ bool isAheadOfRange(ProgramStateRef State, const IteratorPosition &Pos);
6868
bool isBehindPastTheEnd(ProgramStateRef State, const IteratorPosition &Pos);
6969
bool isZero(ProgramStateRef State, NonLoc Val);
7070

71-
} //namespace
71+
} // namespace
7272

7373
void IteratorRangeChecker::checkPreCall(const CallEvent &Call,
7474
CheckerContext &C) const {

clang/test/CXX/drs/dr23xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void g() {
4444
struct dr2303::F -> B -> A<int, int>
4545
struct dr2303::F -> E -> A<int, int>}} */
4646
}
47-
} //namespace dr2303
47+
} // namespace dr2303
4848
#endif
4949

5050
// dr2331: na

clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ using B::operator==;
509509
bool a = 0 == A::S(); // expected-error {{invalid operands to binary expression}}
510510
}
511511

512-
} //namespace ADL_GH68901
512+
} // namespace ADL_GH68901
513513

514514
namespace function_scope_operator_eqeq {
515515
// For non-members, we always lookup for matching operator!= in the namespace scope of

compiler-rt/lib/sanitizer_common/sanitizer_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ class MurMur2Hash64Builder {
6262
return x;
6363
}
6464
};
65-
} //namespace __sanitizer
65+
} // namespace __sanitizer
6666

6767
#endif // SANITIZER_HASH_H

llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ class IntelJITEventsWrapper {
105105
}
106106
};
107107

108-
} //namespace llvm
108+
} // namespace llvm
109109

110110
#endif //INTEL_JIT_EVENTS_WRAPPER_H

0 commit comments

Comments
 (0)