aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-11-16 01:56:27 +0000
committerTed Kremenek <kremenek@apple.com>2010-11-16 01:56:27 +0000
commited122735639d83c10f18c28c7fd117bfcd0f62cb (patch)
tree622fbb3a83937c8666777a6aeb8b873e5186876b /tools/c-index-test/c-index-test.c
parente3fe4cb0565694c7913349e5b14434a0e3c99fa5 (diff)
Move CXString creation/management routines into
their own .cpp file and make the interpretation of its flags private. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r--tools/c-index-test/c-index-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index edaf116d9a..c0c7a29e97 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -1306,7 +1306,7 @@ int print_usrs(const char **I, const char **E) {
else {
CXString x;
x.Spelling = I[2];
- x.MustFreeString = 0;
+ x.private_flags = 0;
print_usr(clang_constructUSR_ObjCIvar(I[1], x));
}
@@ -1333,7 +1333,7 @@ int print_usrs(const char **I, const char **E) {
else {
CXString x;
x.Spelling = I[3];
- x.MustFreeString = 0;
+ x.private_flags = 0;
print_usr(clang_constructUSR_ObjCMethod(I[1], atoi(I[2]), x));
}
I += 4;
@@ -1363,7 +1363,7 @@ int print_usrs(const char **I, const char **E) {
else {
CXString x;
x.Spelling = I[2];
- x.MustFreeString = 0;
+ x.private_flags = 0;
print_usr(clang_constructUSR_ObjCProperty(I[1], x));
}
I += 3;