Skip to content

cmGeneratorExpressionNode: Code cleanup

Leonid Pospelov requested to merge (removed):code-cleanup-2 into master

In cmGeneratorExpressionNode.cxx

  • Simplify code in EqualNode by moving the repeating parts into a separate function.
  • Replace Angle_RNode, CommaNode, SemicolonNode with single template struct CharacterNode.
  • Add lang argument to constructor of CompilerIdNode and replace CCompilerIdNode, CXXCompilerIdNode, CUDACompilerIdNode, FortranCompilerIdNode with CompilerIdNode.
  • Replace VersionGreaterNode, VersionGreaterEqNode, VersionLessNode, VersionLessEqNode, VersionEqualNode with single template struct VersionNode.
  • Simplify code in TargetPropertyNode by moving parameters checks into a separate function.
  • Replace macro BOOLEAN_OP_NODE with struct BooleanOpNode.

Topic-rename: genex-code-cleanup

Edited by Brad King

Merge request reports