Another fix is to move the whole anonymous namespace declaration
completely instead of moving fun/var declarations only.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-move/ClangMove.cpp | ||
---|---|---|
356 ↗ | (On Diff #75120) | Is UsingDirectiveDecl, i.e. using namespace decl, included in this case? |
366 ↗ | (On Diff #75120) | Seems that filters for functionDecl and varDecl are the same? Maybe apply them on namedDecl? |
test/clang-move/Inputs/multiple_class_test.cpp | ||
9 ↗ | (On Diff #75120) | Can you also add tests where using decls are in classes/functions? |
Comment Actions
Address comments.
- Cover type alias declarations.
- Fix an issue of moving function-scope static definitions in non-moved classes.