lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 3b1ec83: Add a rule for formatting unnamed na


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 3b1ec83: Add a rule for formatting unnamed namespace to the style guide
Date: Wed, 31 Jul 2019 11:28:11 -0400 (EDT)

branch: master
commit 3b1ec83e9a7fa13f21c5c7ac2daf7753ab4d6469
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Add a rule for formatting unnamed namespace to the style guide
---
 vz/Style-guide.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/vz/Style-guide.md b/vz/Style-guide.md
index 1f4e89f..b50ee8a 100644
--- a/vz/Style-guide.md
+++ b/vz/Style-guide.md
@@ -151,6 +151,15 @@ Other
 
 I.e. `1.0` instead of just `1.`.
 
+### Declare anonymous namespaces consistently
+
+Use the following style for anonymous namespaces:
+```cpp
+namespace
+{
+} // Unnamed namespace.
+
+```
 
 Semantic Rules
 ==============



reply via email to

[Prev in Thread] Current Thread [Next in Thread]