mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:41:27 +01:00
Fix comment styles to use // consistently. (#2307)
Per https://github.com/carbon-language/carbon-lang/blob/trunk/docs/project/cpp_style_guide.md#syntax-and-formatting
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
namespace Carbon {
|
||||
|
||||
auto StaticScope::Add(const std::string& name, ValueNodeView entity,
|
||||
NameStatus status /* = NameStatus::Usable*/)
|
||||
-> ErrorOr<Success> {
|
||||
NameStatus status) -> ErrorOr<Success> {
|
||||
auto [it, inserted] = declared_names_.insert({name, {entity, status}});
|
||||
if (!inserted) {
|
||||
if (it->second.entity != entity) {
|
||||
|
||||
Reference in New Issue
Block a user