Eliminate TODO and FIXME macros
Those macros are legacy and are not used consitently throughout the code base. This patch eliminates their definitions and rewrites their remaining occurrences to TODO comments. All occurrences have been checked and made sure that the comments used a consistent style. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -66,20 +66,6 @@
|
||||
typedef char JERRY_STATIC_ASSERT_GLUE (static_assertion_failed_, __LINE__, msg) \
|
||||
[ (x) ? 1 : -1 ] __attr_unused___
|
||||
|
||||
#define CALL_PRAGMA(x) _Pragma (#x)
|
||||
|
||||
#ifdef JERRY_PRINT_TODO
|
||||
#define TODO(x) CALL_PRAGMA (message ("TODO - " #x))
|
||||
#else /* !JERRY_PRINT_TODO */
|
||||
#define TODO(X)
|
||||
#endif /* !JERRY_PRINT_TODO */
|
||||
|
||||
#ifdef JERRY_PRINT_FIXME
|
||||
#define FIXME(x) CALL_PRAGMA (message ("FIXME - " #x))
|
||||
#else /* !JERRY_PRINT_FIXME */
|
||||
#define FIXME(X)
|
||||
#endif /* !JERRY_PRINT_FIXME */
|
||||
|
||||
/**
|
||||
* Variable that must not be referenced.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user