LLVM 22.0.0git
MarkupFilter.cpp File Reference

This file defines the implementation of a filter that replaces symbolizer markup with human-readable expressions. More...

Go to the source code of this file.

Macros

#define ASSIGN_OR_RETURN_NONE(TYPE, NAME, EXPR)

Detailed Description

This file defines the implementation of a filter that replaces symbolizer markup with human-readable expressions.

See https://llvm.org/docs/SymbolizerMarkupFormat.html

Definition in file MarkupFilter.cpp.

Macro Definition Documentation

◆ ASSIGN_OR_RETURN_NONE

#define ASSIGN_OR_RETURN_NONE ( TYPE,
NAME,
EXPR )
Value:
auto NAME##Opt = (EXPR); \
if (!NAME##Opt) \
return std::nullopt; \
TYPE NAME = std::move(*NAME##Opt)

Definition at line 490 of file MarkupFilter.cpp.