================
Comment at: lib/Format/Format.cpp:61
@@ +60,3 @@
+        if (Style == clang::format::getPredefinedStyle(StyleName)) {
+          IO.mapOptional("# BasedOnStyle", StyleName);
+          break;
----------------
Kim Gräsman wrote:
> IIRC, the YAML parser doesn't take "#" comments, only JavaScript-style "//", 
> but I'm not 100% sure. Did you try roundtripping a dumped configuration?
There's a round-trip test, and it passes for me.


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

BRANCH
  svn

ARCANIST PROJECT
  clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to