Another fix is to move the whole anonymous namespace declaration
completely instead of moving fun/var declarations only.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 612 Build 612: arc lint + arc unit
Event Timeline
clang-move/ClangMove.cpp | ||
---|---|---|
360–364 | Is UsingDirectiveDecl, i.e. using namespace decl, included in this case? | |
377 | Seems that filters for functionDecl and varDecl are the same? Maybe apply them on namedDecl? | |
test/clang-move/Inputs/multiple_class_test.cpp | ||
9 | 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.
Is UsingDirectiveDecl, i.e. using namespace decl, included in this case?