Skip to content

Commit

Permalink
R3 is an alias of R2
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Jan 21, 2024
1 parent 866e175 commit 4e6db2d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion RefactorTest/Rename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define MACRO_NO_ARGS 3.14159f

// #TEST#: R2 Rename the macro argument x_ from declaration
// #TEST#: R3 Rename the macro argument x_ from usage
// #TEST#: R3 =R2 Rename the macro argument x_ from usage
// #TEST#: R4 Rename this macro
#define MACRO_ONE_ARG(x_) (2.0f * x_)

Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ index d1c1283..dd356e8 100644
+#define GOINK 3.14159f

// #TEST#: R2 Rename the macro argument x_ from declaration
// #TEST#: R3 Rename the macro argument x_ from usage
// #TEST#: R3 =R2 Rename the macro argument x_ from usage
@@ -645,7 +645,7 @@ void TestRename()
// #TEST#: R205 rename the variable Y::x
int y = test2.Operation() + X::x + X::y + Y::x;
Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index d1c1283..3e43246 100644
+++ b/RefactorTest/Rename.cpp
@@ -15,7 +15,7 @@
// #TEST#: R2 Rename the macro argument x_ from declaration
// #TEST#: R3 Rename the macro argument x_ from usage
// #TEST#: R3 =R2 Rename the macro argument x_ from usage
// #TEST#: R4 Rename this macro
-#define MACRO_ONE_ARG(x_) (2.0f * x_)
+#define MACRO_ONE_ARG(goink_) (2.0f * goink_)
Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index d1c1283..3e43246 100644
+++ b/RefactorTest/Rename.cpp
@@ -15,7 +15,7 @@
// #TEST#: R2 Rename the macro argument x_ from declaration
// #TEST#: R3 Rename the macro argument x_ from usage
// #TEST#: R3 =R2 Rename the macro argument x_ from usage
// #TEST#: R4 Rename this macro
-#define MACRO_ONE_ARG(x_) (2.0f * x_)
+#define MACRO_ONE_ARG(goink_) (2.0f * goink_)
Expand Down
2 changes: 1 addition & 1 deletion results/diffs/R4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index d1c1283..8628cb4 100644
+++ b/RefactorTest/Rename.cpp
@@ -15,7 +15,7 @@
// #TEST#: R2 Rename the macro argument x_ from declaration
// #TEST#: R3 Rename the macro argument x_ from usage
// #TEST#: R3 =R2 Rename the macro argument x_ from usage
// #TEST#: R4 Rename this macro
-#define MACRO_ONE_ARG(x_) (2.0f * x_)
+#define GOINK(x_) (2.0f * x_)
Expand Down

0 comments on commit 4e6db2d

Please sign in to comment.