diff options
author | Antonio Maiorano <amaiorano@gmail.com> | 2017-01-17 00:12:27 +0000 |
---|---|---|
committer | Antonio Maiorano <amaiorano@gmail.com> | 2017-01-17 00:12:27 +0000 |
commit | 3adfb6a3eed268a04275334147a57e165ceb5669 (patch) | |
tree | d9e2df760d8962b208a846fb77da1f30e8edb99e /llvm/lib | |
parent | 2aab1d45ff6e76c851524b1933666681c6a87fc5 (diff) | |
download | bcm5719-llvm-3adfb6a3eed268a04275334147a57e165ceb5669.tar.gz bcm5719-llvm-3adfb6a3eed268a04275334147a57e165ceb5669.zip |
clang-format: Make GetStyle return Expected<FormatStyle> instead of FormatStyle
Change the contract of GetStyle so that it returns an error when an error occurs
(i.e. when it writes to stderr), and only returns the fallback style when it
can't find a configuration file.
Differential Revision: https://reviews.llvm.org/D28081
llvm-svn: 292174
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions