Details
Diff Detail
- Build Status
Buildable 1 Build 1: arc lint + arc unit
Event Timeline
| change-namespace/ChangeNamespace.cpp | ||
|---|---|---|
| 176 | Mightbe add a small doc saying NsName is a global namespace if it is empty. (If I misunderstand the code). | |
| 188 | I think the statement doesn't compile here, since consume_front return a bool. It should be if (DeclName.consume_front((NsName + "::")))? Looks like we can also put this judge into the above while statement? | |
- Address review comments.
| change-namespace/ChangeNamespace.cpp | ||
|---|---|---|
| 188 | Note that str() is called on (NsName + "::") instead of consume_front. But you are right, we can put the check into the while loop. | |
LGTM.
| change-namespace/ChangeNamespace.cpp | ||
|---|---|---|
| 188 | Oh, I see. Sorry for misreading the code. | |
Mightbe add a small doc saying NsName is a global namespace if it is empty. (If I misunderstand the code).