The refactoring Move function body to out-of-line produces incorrect code for methods of unnamed classes.
For this simple example
// foo.h
struct Foo {
struct {
void f^oo() {}
} Bar;
};the refactoring generates code:
// foo.cpp
void Foo::(unnamed struct at D:\test\foo.h:2:3)foo() {}Outplace definition for methods of unnamed classes is meaningless. The patch disables it.
could you move this comment closer to the isTempated if statement below?