MLIR  20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::ValueIsPresent< mlir::Location > Struct Reference

The constructors in mlir::Location ensure that the class is a non-nullable wrapper around mlir::LocationAttr. More...

#include "mlir/IR/Location.h"

Public Types

using UnwrappedType = mlir::Location
 

Static Public Member Functions

static bool isPresent (const mlir::Location &location)
 

Detailed Description

The constructors in mlir::Location ensure that the class is a non-nullable wrapper around mlir::LocationAttr.

Override default behavior and always return true for isPresent().

Definition at line 240 of file Location.h.

Member Typedef Documentation

◆ UnwrappedType

using llvm::ValueIsPresent< mlir::Location >::UnwrappedType = mlir::Location

Definition at line 241 of file Location.h.

Member Function Documentation

◆ isPresent()

static bool llvm::ValueIsPresent< mlir::Location >::isPresent ( const mlir::Location location)
inlinestatic

Definition at line 242 of file Location.h.


The documentation for this struct was generated from the following file: