Patent ID: 7530060
Filing Date: 2009-05-05
Classification: G06F

Abstract:
1. A method for providing warnings related to coding conventions using a coding style definition and hints to at least one of a compiler and a linker, the method comprising: receiving a source code; reading a coding style definition related to the source code, wherein the coding style definition includes style data for stylistic conventions and optimization hints; generated by a programmer, and wherein the coding style definition is the appearance in which the source code is displayed and optimization hints associate the stylistic conventions with possible optimizations to be performed by a compiler or a linker; parsing the source code to determine whether the source code adheres to the conventions in the coding style definition; providing warnings to indicate where the source code deviates from the coding style definition, in response to determining that the source code fails to adhere to the conventions in the coding style definition; and providing the optimization hints associated with the stylistic conventions found in the source code to the compiler and the linker, in response to determining that the source code correctly adheres to the style data for stylistic conventions in the coding style definition.