https://llvm.org/bugs/show_bug.cgi?id=25323

            Bug ID: 25323
           Summary: C++ only keywords result in misformatted C code
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: sstewartgallu...@mylangara.bc.ca
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

See for example,

struct private {
    int private;
};

int main(void)
{
    struct private private = {0};
    private.private = 1;
    return private;
}

which becomes:

struct private {
  int private;
};

int main(void) {
  struct private private = {0};
private
  .private = 1;
  return private;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to