johannes added inline comments.

================
Comment at: test/Tooling/clang-diff-ast.cpp:32
+
+// CHECK: TypedefDecl: nat;unsigned int;(
+typedef unsigned nat;
----------------
klimek wrote:
> For my curiosity: why are there semicolons here? Is the format documented 
> somewhere?
To avoid collisions (the value should be unique per TypedefDecl in this 
example), the second one is unnecessary I guess. It is not documented, If it 
works out I want to move to StmtDataCollector for node comparison and keep 
these just for visualisation / debugging.


https://reviews.llvm.org/D36186



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to