Refactoring C with conditional compilation

Alejandra Garrido, R. E. Johnson

2004 · 64 citations · 8 references

Concepts

Abstract

Refactoring, an important technique for increasing flexibility of the source code, can be applied with much ease and efficiency by using automated tools. There is currently a lack of refactoring tools for C with full support for preprocessor directives because directives complicate refactorings in many ways. This paper describes refactoring of C programs in the presence of conditional compilation directives and how we propose to support them in a refactoring tool.

References

8