summaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/Syntax/BuildTreeTest.cpp')
-rw-r--r--clang/unittests/Tooling/Syntax/BuildTreeTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp b/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
index 4ff5e8b65a68..a551f83ff3f9 100644
--- a/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
+++ b/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
@@ -5659,8 +5659,6 @@ struct X {
};
[[void (X::*xp)();]]
[[void (X::**xpp)(const int*);]]
-// FIXME: Generate the right syntax tree for this type,
-// i.e. create a syntax node for the outer member pointer
[[void (X::Y::*xyp)(const int*, char);]]
)cpp",
{R"txt(
@@ -5714,9 +5712,9 @@ SimpleDeclaration
| `-SimpleDeclarator ListElement
| |-ParenDeclarator
| | |-'(' OpenParen
-| | |-'X'
-| | |-'::'
| | |-MemberPointer
+| | | |-'X'
+| | | |-'::'
| | | |-'Y'
| | | |-'::'
| | | `-'*'