Author: gribozavr Date: Mon Sep 23 05:15:48 2019 New Revision: 372594 URL: http://llvm.org/viewvc/llvm-project?rev=372594&view=rev Log: Removed dead code from Stencil.h
Modified: cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h Modified: cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h?rev=372594&r1=372593&r2=372594&view=diff ============================================================================== --- cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h (original) +++ cfe/trunk/include/clang/Tooling/Refactoring/Stencil.h Mon Sep 23 05:15:48 2019 @@ -153,16 +153,6 @@ inline StencilPart node(llvm::StringRef return selection(tooling::node(Id)); } -/// Variant of \c node() that identifies the node as a statement, for purposes -/// of deciding whether to include any trailing semicolon. Only relevant for -/// Expr nodes, which, by default, are *not* considered as statements. -/// \returns the source corresponding to the identified node, considered as a -/// statement. -/// FIXME: Deprecated. Write `selection(statement(Id))` instead. -inline StencilPart sNode(llvm::StringRef Id) { - return selection(tooling::statement(Id)); -} - /// For debug use only; semantics are not guaranteed. /// /// \returns the string resulting from calling the node's print() method. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits