summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-05-14 20:30:49 +0000
committerReid Kleckner <reid@kleckner.net>2013-05-14 20:30:49 +0000
commit6e01994046860c5c120c832a22557ec1c6b72ce9 (patch)
treeabe53b3c4b4a7d7da4c4729858678eb497f2b358
parentd6a08d16a0c8d98e2491f3ee012dbb46b64038f2 (diff)
downloadclang-6e01994046860c5c120c832a22557ec1c6b72ce9.tar.gz
clang-6e01994046860c5c120c832a22557ec1c6b72ce9.tar.bz2
clang-6e01994046860c5c120c832a22557ec1c6b72ce9.tar.xz
Fix the MSVC build broken by r181768
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
-rw-r--r--include/clang/ASTMatchers/Dynamic/VariantValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/ASTMatchers/Dynamic/VariantValue.h b/include/clang/ASTMatchers/Dynamic/VariantValue.h
index 8dc4238757..9a41b448cf 100644
--- a/include/clang/ASTMatchers/Dynamic/VariantValue.h
+++ b/include/clang/ASTMatchers/Dynamic/VariantValue.h
@@ -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.
///