using clang’s libTooling to rewrite nested ternary expressions
The following ‘C’ source code containing a nested ternary statement fails to be rewritten correctly using libTooling’s clang::Rewriter with a RecursiveASTVisitor.
The following ‘C’ source code containing a nested ternary statement fails to be rewritten correctly using libTooling’s clang::Rewriter with a RecursiveASTVisitor.