Fix variable names for Clang-based compilation.
Change-Id: I69b28110e9fda63abb3770da7a1127af4e1f2963
diff --git a/slang_rs.cpp b/slang_rs.cpp
index 645e8c8..11b7940 100644
--- a/slang_rs.cpp
+++ b/slang_rs.cpp
@@ -73,11 +73,11 @@
E = mRSContext->exportable_end();
I != E;
I++) {
- RSExportable *E = *I;
- if (E->getKind() != RSExportable::EX_TYPE)
+ RSExportable *RSE = *I;
+ if (RSE->getKind() != RSExportable::EX_TYPE)
continue;
- RSExportType *ET = static_cast<RSExportType *>(E);
+ RSExportType *ET = static_cast<RSExportType *>(RSE);
if (ET->getClass() != RSExportType::ExportClassRecord)
continue;
diff --git a/slang_rs_object_ref_count.cpp b/slang_rs_object_ref_count.cpp
index b81dd96..d2c088c 100644
--- a/slang_rs_object_ref_count.cpp
+++ b/slang_rs_object_ref_count.cpp
@@ -382,9 +382,9 @@
E = mRSO.end();
I != E;
I++) {
- clang::Stmt *E = ClearRSObject(*I);
- if (E) {
- RSClearObjectCalls.push_back(E);
+ clang::Stmt *S = ClearRSObject(*I);
+ if (S) {
+ RSClearObjectCalls.push_back(S);
}
}
if (RSClearObjectCalls.size() > 0) {