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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good. To think: maybe we need a better name (and/or a place to live) for this API, now that it's not only related to clone detection, but is useful for more stuff?
include/clang/Analysis/CloneDetection.h | ||
---|---|---|
20–24 | Most of these #includes are now redundant. |
Comment Actions
Yeah, we should move it, but it should land somewhere in a header in /AST/ so that for example the StmtProfiler could make use of this. I'm open for suggestions here :)
Most of these #includes are now redundant.