coins.casttohir
Class ConditionalReporter

java.lang.Object
  extended bycoins.casttohir.ConditionalReporter

class ConditionalReporter
extends java.lang.Object

Reports warnings and errors according to the condition.

 The following are reported only once with each function or symbol.
 - long long is not supported
 - long double is not supported
 - bit-field is not supported
 - variable argument list is not supported
 - wchar_t string is not supported
 


Constructor Summary
ConditionalReporter(ToHir tohir)
           
 
Method Summary
(package private)  void isSupportedType(Var var)
          Show warning message of not suported type.
(package private)  void isVaArg(Subp subp)
          Show warning message of va_arg.
(package private)  void isWideChar(boolean wchar)
          Show warning message of wchar_t.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalReporter

public ConditionalReporter(ToHir tohir)
Method Detail

isSupportedType

void isSupportedType(Var var)
Show warning message of not suported type.

Parameters:
var - Var

isVaArg

void isVaArg(Subp subp)
Show warning message of va_arg.

Parameters:
subp - Subp

isWideChar

void isWideChar(boolean wchar)
Show warning message of wchar_t.

Parameters:
wchar - true if wchat_t.