Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 14758 Build 14758: arc lint + arc unit
Event Timeline
Lg. Thanks for the change!
clang-move/ClangMove.cpp | ||
---|---|---|
526 | I'd probably relax the condition a bit; theoretically tools would be able to handle entire identifiers that are either spelled in macro or passed in by users. But it's probably rare. Might worth a FIXME though? | |
unittests/clang-move/ClangMoveTests.cpp | ||
397 | Could you add a test case where the identifier is composed of macro and user parameter? Something like #define Foo(x) void func_##x()? |
clang-move/ClangMove.cpp | ||
---|---|---|
526 | This mainly affects the dump behavior. Moving symbols spelled in macro is tricky, and we can't guarantee always doing right thing. Actually, clang-move supports it partially. For the test case of this patch, if you move the Foo (names=Foo), clang-move will move the expansion macro (DEFINE_Foo;), although Foo is not dumped. |
I'd probably relax the condition a bit; theoretically tools would be able to handle entire identifiers that are either spelled in macro or passed in by users. But it's probably rare. Might worth a FIXME though?