[ClavaAst] Changes implementation of FunctionDecl.isDefinition()
@@ -473,7 +473,8 @@ public class FunctionDecl extends DeclaratorDecl {
}
public boolean isDefinition() {
- return getDefinition().map(def -> def == this).orElse(false);
+ return hasBody();
+ // return getDefinition().map(def -> def == this).orElse(false);
}
// private boolean useQualifiedName() {
