The new test case was crashing before. Now it passes
as expected.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks good! I just have two nits.
lib/Format/NamespaceEndCommentsFixer.cpp | ||
---|---|---|
139 ↗ | (On Diff #93298) | I'd instead just add a guard check at old line 136: if (!NamespaceTok || NamespaceTok->isNot(tok::kw_namespace)) continue; |
unittests/Format/NamespaceEndCommentsFixerTest.cpp | ||
586 ↗ | (On Diff #93298) | I'd make the test name a bit descriptive; something like: |