Return whether MRI indicates neither modification nor reference.

Synopsis

Declared in <llvm/Support/ModRef.h>

[[nodiscard]]
bool
isNoModRef(ModRefInfo const MRI);

Return Value

True if MRI indicates neither modification nor reference.

Note

The return value should not be discarded.

Parameters

Name

Description

MRI

Mod/ref flags to test.

Created with MrDocs