Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Parse/ParseTentative.cpp | ||
|---|---|---|
| 91 | Are you sure you can remove this? Wouldn't this be used for a case like: struct Foo {
struct Bar {
struct Baz {
~Baz();
};
};
};
Foo::Bar::Baz::~Baz() {}(I could be reading the code wrong, but I thought we had a reason to check for annot_cxxscope -- seems we missed test coverage for it!) | |
| clang/lib/Parse/ParseTentative.cpp | ||
|---|---|---|
| 91 | It looks like we do not need the annot_cxxscope as it seems it was processed above (likely one of the recent additions such as ParseOptionalCXXScopeSpecifier). I added a test case for the case you proposed in rG87ae74692456 | |
| clang/lib/Parse/ParseTentative.cpp | ||
|---|---|---|
| 91 | Ah, good to know, and thank you for the additional test case! | |
Are you sure you can remove this? Wouldn't this be used for a case like:
struct Foo { struct Bar { struct Baz { ~Baz(); }; }; }; Foo::Bar::Baz::~Baz() {}(I could be reading the code wrong, but I thought we had a reason to check for annot_cxxscope -- seems we missed test coverage for it!)