From: David Blaikie Date: Mon, 15 Sep 2014 22:20:31 +0000 (+0000) Subject: Fix indenting caused by clang-format+spuriously indented access specifier in r216925 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccaf6dd1d94dc54884db3329ffc0b079676b201b;p=llvm Fix indenting caused by clang-format+spuriously indented access specifier in r216925 Caught in post-commit review by Justin Bogner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217837 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/SpecialCaseList.h b/include/llvm/Support/SpecialCaseList.h index c734fc8daa8..313212e59dd 100644 --- a/include/llvm/Support/SpecialCaseList.h +++ b/include/llvm/Support/SpecialCaseList.h @@ -56,19 +56,19 @@ class Regex; class StringRef; class SpecialCaseList { - public: +public: /// Parses the special case list from a file. If Path is empty, returns /// an empty special case list. On failure, returns 0 and writes an error /// message to string. - static std::unique_ptr create(StringRef Path, + static std::unique_ptr create(StringRef Path, std::string &Error); /// Parses the special case list from a memory buffer. On failure, returns /// 0 and writes an error message to string. - static std::unique_ptr create(const MemoryBuffer *MB, + static std::unique_ptr create(const MemoryBuffer *MB, std::string &Error); /// Parses the special case list from a file. On failure, reports a fatal /// error. - static std::unique_ptr createOrDie(StringRef Path); + static std::unique_ptr createOrDie(StringRef Path); ~SpecialCaseList(); @@ -80,7 +80,7 @@ class SpecialCaseList { bool inSection(StringRef Section, StringRef Query, StringRef Category = StringRef()) const; - private: +private: SpecialCaseList(SpecialCaseList const &) LLVM_DELETED_FUNCTION; SpecialCaseList &operator=(SpecialCaseList const &) LLVM_DELETED_FUNCTION;