retdec
Namespaces | Macros
json_manager.cpp File Reference

Implementation of JsonOutputManager. More...

#include "retdec/llvmir2hll/hll/output_managers/json_manager.h"
#include "retdec/utils/string.h"

Namespaces

 retdec
 
 retdec::llvmir2hll
 

Macros

#define HANDLE_COMMENT_MODIFIER(val)
 

Detailed Description

Implementation of JsonOutputManager.

Macro Definition Documentation

◆ HANDLE_COMMENT_MODIFIER

#define HANDLE_COMMENT_MODIFIER (   val)
Value:
{ \
if (_commentModifierOn) \
{ \
_runningComment += val; \
return; \
} \
}

We don't like macros, but we potentially need to return from methods calling this helper routine, so we use it here anyway.

Parameters
valAnything that can be concatenated (+) to a std::string.