diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-02-23 22:36:28 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-02-23 22:36:28 +0000 |
commit | d26f95bc949b98d4c092c79ae0ab689d29889e7a (patch) | |
tree | bbe1625d51d176db66a4e2cb6c3439dc37ad077c /clang/test/Parser/cxx-ambig-init-templ.cpp | |
parent | b6c31f3878377b1c60bf5fe521fcb717e039e62b (diff) | |
download | bcm5719-llvm-d26f95bc949b98d4c092c79ae0ab689d29889e7a.tar.gz bcm5719-llvm-d26f95bc949b98d4c092c79ae0ab689d29889e7a.zip |
Revert "Improve declaration / expression disambiguation around ptr-operators, and use"
This seems to break mixing function-style and c-style casts, and is
breaking bootstrapping llvm.
This reverts r230261.
llvm-svn: 230274
Diffstat (limited to 'clang/test/Parser/cxx-ambig-init-templ.cpp')
-rw-r--r-- | clang/test/Parser/cxx-ambig-init-templ.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/test/Parser/cxx-ambig-init-templ.cpp b/clang/test/Parser/cxx-ambig-init-templ.cpp index 584262c9be4..1f692664137 100644 --- a/clang/test/Parser/cxx-ambig-init-templ.cpp +++ b/clang/test/Parser/cxx-ambig-init-templ.cpp @@ -170,15 +170,6 @@ namespace ElaboratedTypeSpecifiers { }; } -namespace AbstractPtrOperatorDeclarator { - template <int, typename> struct X { - operator int(); - }; - struct Y { - void f(int a = X<0, int (*)()>()); - }; -} - namespace PR20459 { template <typename EncTraits> struct A { void foo(int = EncTraits::template TypeEnc<int, int>::val); // ok |