[clang-tools-extra] r244793 - [clang-tidy] Make FileOptionsProvider fields protected to make extending it easier

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 12 12:29:58 PDT 2015


Author: alexfh
Date: Wed Aug 12 14:29:57 2015
New Revision: 244793

URL: http://llvm.org/viewvc/llvm-project?rev=244793&view=rev
Log:
[clang-tidy] Make FileOptionsProvider fields protected to make extending it easier

Modified:
    clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h

Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h?rev=244793&r1=244792&r2=244793&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h Wed Aug 12 14:29:57 2015
@@ -189,7 +189,7 @@ public:
 
   ClangTidyOptions getOptions(llvm::StringRef FileName) override;
 
-private:
+protected:
   /// \brief Try to read configuration files from \p Directory using registered
   /// \c ConfigHandlers.
   llvm::Optional<ClangTidyOptions> TryReadConfigFile(llvm::StringRef Directory);




More information about the cfe-commits mailing list