[PATCH] D39903: [libclang] Allow pretty printing declarations

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 03:01:46 PST 2018


jbcoe added inline comments.


================
Comment at: tools/c-index-test/c-index-test.c:93
+    enum CXPrintingPolicyProperty property;
+  } mappings[] = {
+      {"CINDEXTEST_PRINTINGPOLICY_INDENTATION", CXPrintingPolicy_Indentation},
----------------
I'm not sure that joining the struct definition and variable definition like this gains much and does not aid readability.


Repository:
  rC Clang

https://reviews.llvm.org/D39903





More information about the cfe-commits mailing list