r181826 - Fix the MSVC build broken by r181768

Reid Kleckner reid at kleckner.net
Tue May 14 13:30:49 PDT 2013


Author: rnk
Date: Tue May 14 15:30:49 2013
New Revision: 181826

URL: http://llvm.org/viewvc/llvm-project?rev=181826&view=rev
Log:
Fix the MSVC build broken by r181768

MSVC accepts the using decl but not the typedef.  It complains that the
typedef is ambiguous.

Modified:
    cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h

Modified: cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h?rev=181826&r1=181825&r2=181826&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h Tue May 14 15:30:49 2013
@@ -26,7 +26,7 @@ namespace clang {
 namespace ast_matchers {
 namespace dynamic {
 
-typedef ast_matchers::internal::DynTypedMatcher DynTypedMatcher;
+using ast_matchers::internal::DynTypedMatcher;
 
 /// \brief Variant value class.
 ///





More information about the cfe-commits mailing list