<div dir="ltr">MSVC 2013</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 11, 2015 at 5:02 PM David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Unsupported (which compiler(s)?) or just not preferred?</p>
<div class="gmail_quote">On Aug 11, 2015 6:00 AM, "Manuel Klimek via cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: klimek<br>
Date: Tue Aug 11 07:59:22 2015<br>
New Revision: 244597<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=244597&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=244597&view=rev</a><br>
Log:<br>
Do not use inheriting constructors.<br>
<br>
Modified:<br>
    clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp<br>
<br>
Modified: clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp?rev=244597&r1=244596&r2=244597&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp?rev=244597&r1=244596&r2=244597&view=diff</a><br>
==============================================================================<br>
--- clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp (original)<br>
+++ clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp Tue Aug 11 07:59:22 2015<br>
@@ -19,7 +19,8 @@ namespace {<br>
<br>
 class IncludeInserterCheckBase : public ClangTidyCheck {<br>
 public:<br>
-  using ClangTidyCheck::ClangTidyCheck;<br>
+  IncludeInserterCheckBase(StringRef CheckName, ClangTidyContext *Context)<br>
+      : ClangTidyCheck(CheckName, Context) {}<br>
   void registerPPCallbacks(CompilerInstance &Compiler) override {<br>
     Inserter.reset(new IncludeInserter(Compiler.getSourceManager(),<br>
                                        Compiler.getLangOpts(),<br>
@@ -54,14 +55,16 @@ public:<br>
<br>
 class NonSystemHeaderInserterCheck : public IncludeInserterCheckBase {<br>
 public:<br>
-  using IncludeInserterCheckBase::IncludeInserterCheckBase;<br>
+  NonSystemHeaderInserterCheck(StringRef CheckName, ClangTidyContext *Context)<br>
+      : IncludeInserterCheckBase(CheckName, Context) {}<br>
   StringRef HeaderToInclude() const override { return "path/to/header.h"; }<br>
   bool IsAngledInclude() const override { return false; }<br>
 };<br>
<br>
 class CXXSystemIncludeInserterCheck : public IncludeInserterCheckBase {<br>
 public:<br>
-  using IncludeInserterCheckBase::IncludeInserterCheckBase;<br>
+  CXXSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context)<br>
+      : IncludeInserterCheckBase(CheckName, Context) {}<br>
   StringRef HeaderToInclude() const override { return "set"; }<br>
   bool IsAngledInclude() const override { return true; }<br>
 };<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>
</blockquote></div>