[PATCH] clang-c: Add clang_getTypeSpelling()

Dmitri Gribenko gribozavr at gmail.com
Thu Feb 14 13:21:18 PST 2013



================
Comment at: tools/c-index-test/c-index-test.c:1123
@@ +1122,3 @@
+      case PRINT_TYPE:
+        fmt = " type=%s";
+        break;
----------------
Can you put this in brackets, `" [type=%s]"`, so that it is obvious where it ends?  typekind=... is only a single word, so brackets were not needed there.


http://llvm-reviews.chandlerc.com/D409



More information about the cfe-commits mailing list