[PATCH] D81155: Rename arrow -> arrowToken for unified naming
Eduardo Caldas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 4 06:31:23 PDT 2020
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas added a reviewer: gribozavr2.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81155
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syntax/Nodes.cpp
Index: clang/lib/Tooling/Syntax/Nodes.cpp
===================================================================
--- clang/lib/Tooling/Syntax/Nodes.cpp
+++ clang/lib/Tooling/Syntax/Nodes.cpp
@@ -400,7 +400,7 @@
findChild(syntax::NodeRole::CloseParen));
}
-syntax::Leaf *syntax::TrailingReturnType::arrow() {
+syntax::Leaf *syntax::TrailingReturnType::arrowToken() {
return llvm::cast_or_null<syntax::Leaf>(
findChild(syntax::NodeRole::TrailingReturnType_arrow));
}
Index: clang/include/clang/Tooling/Syntax/Nodes.h
===================================================================
--- clang/include/clang/Tooling/Syntax/Nodes.h
+++ clang/include/clang/Tooling/Syntax/Nodes.h
@@ -639,7 +639,7 @@
return N->kind() == NodeKind::TrailingReturnType;
}
// TODO: add accessors for specifiers.
- syntax::Leaf *arrow();
+ syntax::Leaf *arrowToken();
syntax::SimpleDeclarator *declarator();
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81155.268450.patch
Type: text/x-patch
Size: 923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200604/b97e962c/attachment-0001.bin>
More information about the cfe-commits
mailing list