clava icon indicating copy to clipboard operation
clava copied to clipboard

"<.getCode() not implemented to node class pt.up.fe.specs.clava.ast.expr.TypeTraitExpr>" in woven code

Open Process-ing opened this issue 1 year ago • 0 comments

In Clava-JS, it seems that the getCode method of type trait expressions is not implemented, and the resulting string is being injected into the output.

To replicate this bug, run Clava-JS with no script and the following source file:

#include <type_traits>

int main() {
    __is_pod(int);
    return 0;
}

The woven file will look like this:

#include <type_traits>
int main() {
   <.getCode() not implemented to node class pt.up.fe.specs.clava.ast.expr.TypeTraitExpr>;
   
   return 0;
}

Process-ing avatar Jul 30 '24 19:07 Process-ing