Return true if the function has the attribute.

Synopses

Declared in <llvm/IR/Function.h>

Return true if the function has the attribute.

Return true if the function has the attribute.

bool
hasFnAttribute(StringRef Kind) const;

Return Value

True if the function has the given attribute.

Parameters

Name

Description

Kind

The enum attribute kind to query on the function.

Created with MrDocs