[PATCH] D27058: Testing phabricator email

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 23 09:52:45 PST 2016


ioeric created this revision.
ioeric added a reviewer: hokein.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.

Do not submit!


https://reviews.llvm.org/D27058

Files:
  include/clang/Tooling/Refactoring/EditList.h
  lib/Tooling/Refactoring/EditList.cpp
  unittests/Tooling/RefactoringTest.cpp


Index: unittests/Tooling/RefactoringTest.cpp
===================================================================
--- unittests/Tooling/RefactoringTest.cpp
+++ unittests/Tooling/RefactoringTest.cpp
@@ -1168,7 +1168,7 @@
   ExpectedEdit.removeHeader("b.h");
   ExpectedEdit.setError("ok");
 
-  EditList ActualEdit = EditList::ConvertFromYAML(YamlContent);
+  EditList ActualEdit = EditList::convertFromYAML(YamlContent);
   EXPECT_EQ(ExpectedEdit.getKey(), ActualEdit.getKey());
   EXPECT_EQ(ExpectedEdit.getFilePath(), ActualEdit.getFilePath());
   EXPECT_EQ(ExpectedEdit.getError(), ActualEdit.getError());
Index: lib/Tooling/Refactoring/EditList.cpp
===================================================================
--- lib/Tooling/Refactoring/EditList.cpp
+++ lib/Tooling/Refactoring/EditList.cpp
@@ -1,4 +1,4 @@
-//===--- EditList.h - EditList implementation -------------------*- C++ -*-===//
+//===--- EditList.cpp - EditList implementation -----------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -100,7 +100,7 @@
   return YamlContent;
 }
 
-EditList EditList::ConvertFromYAML(llvm::StringRef YAMLContent) {
+EditList EditList::convertFromYAML(llvm::StringRef YAMLContent) {
   EditList Edit;
   llvm::yaml::Input YAML(YAMLContent);
   YAML >> Edit;
Index: include/clang/Tooling/Refactoring/EditList.h
===================================================================
--- include/clang/Tooling/Refactoring/EditList.h
+++ include/clang/Tooling/Refactoring/EditList.h
@@ -49,7 +49,7 @@
   std::string toYAMLString();
 
   /// \brief Converts a YAML-encoded edit to EditList.
-  static EditList ConvertFromYAML(llvm::StringRef YAMLContent);
+  static EditList convertFromYAML(llvm::StringRef YAMLContent);
 
   /// \brief Returns the key of this edit, which is a concatenation of the file
   /// name and position information of the key position.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27058.79116.patch
Type: text/x-patch
Size: 1900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161123/1d26491a/attachment.bin>


More information about the cfe-commits mailing list