Give clang-format its own error category.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Jun 2014 02:50:04 +0000 (02:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Jun 2014 02:50:04 +0000 (02:50 +0000)
commitd0136707a97b379680210f29e5caa2092fe80668
tree75fe65efee09825e9e4d5456a08b837ab09e7b00
parent2456cea2e18e070b0019b11d9f47338244f01d0d
Give clang-format its own error category.

The posix errno values are probably to the best thing to use for
describing parse errors.

This should also fix the mingw build.

llvm-svn: 210739
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/test/Format/style-on-command-line.cpp
clang/unittests/Format/FormatTest.cpp