[PATCH] D40731: Integrate CHash into CLang
Christian Dietrich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 12 03:41:55 PST 2017
stettberger updated this revision to Diff 126523.
stettberger added a comment.
I removed the magic constants and added the number of children for various AST nodes. This should avoid hash collisions.
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/DataCollection.h
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.126523.patch
Type: text/x-patch
Size: 26245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171212/d7ddae71/attachment-0001.bin>
More information about the cfe-commits
mailing list