Skip to content

Commit e940619

Browse files
Update llvm/docs/CodingStandards.rst
Co-authored-by: Aaron Ballman <[email protected]>
1 parent efbfa3d commit e940619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ that means restricting visibility to a single `.cpp` file if it's not referenced
15891589
outside that file.
15901590

15911591
Visibility of file-scope non-member variables and functions can be restricted to
1592-
the current translation unit by using either `static` keyword or anonymous namespace.
1592+
the current translation unit by using either the `static` keyword or an anonymous namespace.
15931593
Anonymous namespaces are a great language feature that tells the C++ compiler that
15941594
the contents of the namespace are only visible within the current translation unit,
15951595
allowing more aggressive optimization and eliminating the possibility of symbol

0 commit comments

Comments
 (0)