[analyzer] Make StmtDataCollector part of the CloneDetection API
authorRaphael Isemann <teemperor@gmail.com>
Sun, 9 Jul 2017 15:56:39 +0000 (15:56 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Sun, 9 Jul 2017 15:56:39 +0000 (15:56 +0000)
commit983f7915ac9211fa4e97c506c94e49e7fb920411
tree7e228781ca6aa985f849c4c1de8832aaddbfc69c
parent8247687e0fdde7de092b4820ebfcfd9f2c68bd79
[analyzer] Make StmtDataCollector part of the CloneDetection API

Summary: We probably want to use this useful templates in other pieces of code (e.g. the one from D34329), so we should make this public.

Reviewers: NoQ

Reviewed By: NoQ

Subscribers: cfe-commits, xazax.hun, v.g.vassilev, johannes

Differential Revision: https://reviews.llvm.org/D34880

llvm-svn: 307501
clang/include/clang/Analysis/CloneDetection.h
clang/lib/Analysis/CloneDetection.cpp