[clang] fdde3c0 - [Sema] Properly space namespace comments (#208561)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 14:47:54 PDT 2026
Author: Aiden Grossman
Date: 2026-07-09T21:47:49Z
New Revision: fdde3c06cf0b62b3c9f553b4234c5ce0eed86451
URL: https://github.com/llvm/llvm-project/commit/fdde3c06cf0b62b3c9f553b4234c5ce0eed86451
DIFF: https://github.com/llvm/llvm-project/commit/fdde3c06cf0b62b3c9f553b4234c5ce0eed86451.diff
LOG: [Sema] Properly space namespace comments (#208561)
// namespace instead of //namespace.
This is consistent with the LLVM coding standards. We took focus on this
specific case as it was tripping up some of our internal tooling.
Added:
Modified:
clang/test/SemaTemplate/concepts-out-of-line-def.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaTemplate/concepts-out-of-line-def.cpp b/clang/test/SemaTemplate/concepts-out-of-line-def.cpp
index 6c41853cf3b4f..60ab6a4939282 100644
--- a/clang/test/SemaTemplate/concepts-out-of-line-def.cpp
+++ b/clang/test/SemaTemplate/concepts-out-of-line-def.cpp
@@ -915,7 +915,7 @@ namespace FuncTemplateInClass {
requires C<Ts>
auto TplClass<0>::buggy() -> void {}
// expected-error at -1 {{out-of-line definition of 'buggy' does not match any declaration}}
- } //namespace t1
+ } // namespace t1
namespace t2 {
template <int> struct TplClass { // expected-note {{defined here}}
template <int Ts, int Us>
@@ -928,7 +928,7 @@ namespace FuncTemplateInClass {
requires C<Us>
auto TplClass<0>::buggy() -> void {}
// expected-error at -1 {{out-of-line definition of 'buggy' does not match any declaration}}
- } //namespace t2
+ } // namespace t2
} // namespace FuncTemplateInClass
namespace GH139476 {
More information about the cfe-commits
mailing list