[cfe-commits] [clang-tools-extra] r171593 - /clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h

Chandler Carruth chandlerc at gmail.com
Fri Jan 4 18:57:54 PST 2013


Author: chandlerc
Date: Fri Jan  4 20:57:54 2013
New Revision: 171593

URL: http://llvm.org/viewvc/llvm-project?rev=171593&view=rev
Log:
Add a namespace qualifier to the befriending statement for
RecusiveASTVisitor. With Clang and modern GCCs this was found through
the injected class name of the base class but older GCCs don't properly
implement the injected class name rules.

Modified:
    clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h

Modified: clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h?rev=171593&r1=171592&r2=171593&view=diff
==============================================================================
--- clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h (original)
+++ clang-tools-extra/trunk/cpp11-migrate/LoopConvert/StmtAncestor.h Fri Jan  4 20:57:54 2013
@@ -182,7 +182,7 @@
     return Found;
   }
 
-  friend class RecursiveASTVisitor<DeclFinderASTVisitor>;
+  friend class clang::RecursiveASTVisitor<DeclFinderASTVisitor>;
 
 private:
   std::string Name;





More information about the cfe-commits mailing list