Abstract
This paper presents a refactoring tool for C++. Its implementation illustrates the main difficulties of automated refactoring raising in this case from the preprocessor and from the complexity of the language. Our solution, using a back-mapping preprocessor, works in the presence of complex preprocessor constructions built upon file inclusions, macro expansions and conditional compilations. Refactorings are computed after full preprocessing and parsing of target programs, hence, they are based on the same level of program understanding as performed by compilers. The paper illustrates the main ideas of our approach on the example of Extract Method refactoring. © 2006 International Federation for Information Processing.
Cite
CITATION STYLE
Vittek, M., Borovansky, P., & Moreau, P. E. (2006). A C++ refactoring browser and method extraction. IFIP International Federation for Information Processing, 227, 325–336. https://doi.org/10.1007/978-0-387-39388-9_31
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.