[PATCH] D79640: Add Operation::moveAfter
Geoffrey Martin-Noble via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 11:48:18 PDT 2020
GMNGeoffrey marked an inline comment as done.
GMNGeoffrey added inline comments.
================
Comment at: mlir/lib/IR/Operation.cpp:495
+/// Unlink this operation from its current block and insert it right after
+/// `existingOp` which may be in the same or another block in the same function.
----------------
So now is not the time to fix it, but the LLVM style guide specifically says not to duplicate all the comments in the implementation. I think MLIR does this a lot. Can we remove these?
> Don’t duplicate the documentation comment in the header file and in the implementation file. Put the documentation comments for public APIs into the header file. Documentation comments for private APIs can go to the implementation file. In any case, implementation files can include additional comments (not necessarily in Doxygen markup) to explain implementation details as needed.
https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79640/new/
https://reviews.llvm.org/D79640
More information about the llvm-commits
mailing list