summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index 22c0d976234..f6b5510292b 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/tools/c-index-test/c-index-test.c
@@ -1329,7 +1329,7 @@ static enum CXChildVisitResult PrintTypeSize(CXCursor cursor, CXCursor p,
CXCursor Parent, Root;
if (clang_getCursorKind(cursor) == CXCursor_FieldDecl ) {
const char *RootParentName;
- Root = Parent = p;
+ Parent = p;
do {
Root = Parent;
RootParentName = clang_getCString(clang_getCursorSpelling(Root));
OpenPOWER on IntegriCloud