[PATCH] D40731: Integrate CHash into CLang
Christian Dietrich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 4 04:20:00 PST 2017
stettberger updated this revision to Diff 125309.
stettberger marked 9 inline comments as done.
stettberger added a comment.
@Eugene.Zelenko Thank you for pointing me out on these issues. I ran clang-tidy and clang-format on CHashVisitor.h
@rsmith You're right, there is already more than one implemenation of {partial,unstable} AST hashes within LLVM, as we already discussed on cfe-dev in August[1]. Therefore, I rewrote our original CHash implementation to extend the already existing StmtDataCollectors approach. However, you are right, efforts should be coordinated to get a AST hashing implementation that can be adapted to various use-case scenarios.
[1] http://lists.llvm.org/pipermail/cfe-dev/2017-August/054911.html
Repository:
rC Clang
https://reviews.llvm.org/D40731
Files:
include/clang/AST/AttrDataCollectors.td
include/clang/AST/CHashVisitor.h
include/clang/AST/CMakeLists.txt
include/clang/AST/DeclDataCollectors.td
include/clang/AST/StmtDataCollectors.td
include/clang/AST/TypeDataCollectors.td
unittests/AST/CHashTest.cpp
unittests/AST/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40731.125309.patch
Type: text/x-patch
Size: 25605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171204/94de9a72/attachment-0001.bin>
More information about the cfe-commits
mailing list