[ClavaWeaver] Changes some warnings into infos
@@ -521,8 +521,8 @@ public class CxxLoop extends ALoop {
// ops.add(BinaryOperatorKind.NE);
if (!(loop instanceof ForStmt)) {
- ClavaLog.warning(
- "Not supported for loops of kind '" + getKindImpl() + "', only 'for' loops.");
+ ClavaLog.info("Not supported for loops of kind '" + getKindImpl() + "', only 'for' loops ("
+ + getLocationImpl() + ").");
return null;
}
@@ -536,8 +536,9 @@ public class CxxLoop extends ALoop {
// .orElse(null);
if (endValue == null) {
- ClavaLog.warning(
- "Could not determine the end value of the loop. The condition statement should be a Canonical Loop Form test expression, as defined by the OpenMP standard.");
+ ClavaLog.info(
+ "Could not determine the end value of the loop at '" + getLocationImpl()
+ + "'. The condition statement should be a Canonical Loop Form test expression, as defined by the OpenMP standard.");
}
return endValue;
