]> granicus.if.org Git - clang/commitdiff
Fix the MSVC build broken by r181768
authorReid Kleckner <reid@kleckner.net>
Tue, 14 May 2013 20:30:49 +0000 (20:30 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 14 May 2013 20:30:49 +0000 (20:30 +0000)
MSVC accepts the using decl but not the typedef.  It complains that the
typedef is ambiguous.

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

include/clang/ASTMatchers/Dynamic/VariantValue.h

index 8dc4238757ee0a0447d61d37177f6e7107762d5d..9a41b448cf819f60e706a9dbbcdda4b83438810e 100644 (file)
@@ -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.
 ///