kirancodes.me
To Proof Maintenance & Beyond!

Refactoring C with Conditional Compilation

Alejandra Garrido, Ralph E. Johnson

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.

BibTeX
@inproceedings{Garrido-Johnson:ASE03,
  author    = {Alejandra Garrido and
               Ralph E. Johnson},
  title     = {Refactoring C with Conditional Compilation},
  booktitle = {ASE},
  pages     = {323--326},
  publisher = {{IEEE} Computer Society},
  year      = {2003},
}

Related papers