This revision was automatically updated to reflect the committed changes.
Closed by commit rL271933: clang-rename: implement renaming of classes inside
static_cast (authored by vmiklos).
Changed prior to commit:
http://reviews.llvm.org/D21012?vs=59695&id=59766#toc
Repository:
rL LLVM
http:/
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
lg
http://reviews.llvm.org/D21012
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
vmiklos updated this revision to Diff 59695.
vmiklos added a comment.
Done.
http://reviews.llvm.org/D21012
Files:
clang-rename/USRLocFinder.cpp
test/clang-rename/StaticCastExpr.cpp
Index: test/clang-rename/StaticCastExpr.cpp
=
klimek added inline comments.
Comment at: test/clang-rename/StaticCastExpr.cpp:4-25
@@ +3,24 @@
+// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
+class Base
+{
+};
+
+class Derived : public Base
+{
+public:
+ int getValue() const
+ {
+ return 0;
+ }
+};
+
+int main()
+{
+ De
vmiklos created this revision.
vmiklos added a reviewer: klimek.
vmiklos added a subscriber: cfe-commits.
"Derived" in static_cast(...) wasn't renamed, nor in its
pointer equivalent.
http://reviews.llvm.org/D21012
Files:
clang-rename/USRLocFinder.cpp
test/clang-rename/StaticCastExpr.cpp
Ind