This is an archive of the discontinued LLVM Phabricator instance.

Define SDBM key methods in its own cpp file.
ClosedPublic

Authored by stellaraccident on Apr 13 2020, 10:27 AM.

Details

Summary
  • Follows the convention of the tablegen-generated dialects.
  • Ensures that vague linkage rules place the definitions in the dialect's object files.
  • Allows code that uses RTTI to include MLIR headers (compiled without RTTI) without type_info link errors.

Diff Detail

Event Timeline

Installed clang-format.

Update comment.

rriddle accepted this revision.Apr 13 2020, 11:09 AM
rriddle added inline comments.
mlir/include/mlir/Dialect/SDBM/SDBMDialect.h
22

Please use /// for top-level comments.

mlir/lib/Dialect/SDBM/SDBMDialect.cpp
10

nit: This comment block can probably just be removed.

This revision is now accepted and ready to land.Apr 13 2020, 11:09 AM
Harbormaster completed remote builds in B52954: Diff 257023.

Address comments.

Install clang-format.

stellaraccident marked 2 inline comments as done.Apr 19 2020, 7:16 PM
ftynse accepted this revision.Apr 20 2020, 1:06 AM
This revision was automatically updated to reflect the committed changes.