Skip to content

ClangToSageTranslator::publishSemanticExpressionSourceProvenance

Publish one exact semantic expression from Clang evidence.

Synopsis

Declared in <Clang/clang‐frontend‐private.hpp>

void
publishSemanticExpressionSourceProvenance(
    SgExpression* expression,
    clang::SourceRange construction_evidence,
    char const* context);

Description

The expression is registered as synthesized with this translator, marked as frontend semantic infrastructure, and validated by SageBuilder. A caller without an active semantic construction transaction is malformed.

Parameters

Name

Description

expression

This class represents the notion of an expression. Expressions

Created with MrDocs