[PM] Remove four extraneous 'typename's that Clang (in C++11 mode) is
authorChandler Carruth <chandlerc@gmail.com>
Tue, 26 Nov 2013 11:31:06 +0000 (11:31 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 26 Nov 2013 11:31:06 +0000 (11:31 +0000)
happy with but GCC complains about. I'm assuming both compilers are
correct and these are optional in C++11 because I'm too tired to read
the standard. ;]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195748 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/PassManager.h

index ddb9ea8f7f9f159c53ab2f335b1823af9bc7e333..2d8f07f45f97cafe58d725d0350a24c8e032e867 100644 (file)
@@ -562,8 +562,8 @@ class ModuleAnalysisManager
     : public detail::AnalysisManagerBase<ModuleAnalysisManager, Module *> {
   friend class detail::AnalysisManagerBase<ModuleAnalysisManager, Module *>;
   typedef detail::AnalysisManagerBase<ModuleAnalysisManager, Module *> BaseT;
-  typedef typename BaseT::ResultConceptT ResultConceptT;
-  typedef typename BaseT::PassConceptT PassConceptT;
+  typedef BaseT::ResultConceptT ResultConceptT;
+  typedef BaseT::PassConceptT PassConceptT;
 
 public:
   // Public methods provided by the base class.
@@ -596,8 +596,8 @@ class FunctionAnalysisManager
     : public detail::AnalysisManagerBase<FunctionAnalysisManager, Function *> {
   friend class detail::AnalysisManagerBase<FunctionAnalysisManager, Function *>;
   typedef detail::AnalysisManagerBase<FunctionAnalysisManager, Function *> BaseT;
-  typedef typename BaseT::ResultConceptT ResultConceptT;
-  typedef typename BaseT::PassConceptT PassConceptT;
+  typedef BaseT::ResultConceptT ResultConceptT;
+  typedef BaseT::PassConceptT PassConceptT;
 
 public:
   // Most public APIs are inherited from the CRTP base class.