Home
last modified time | relevance | path

Searched refs:startCollectionBuf (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1527 const char *startCollectionBuf = startBuf; in RewriteObjCForCollectionStmt() local
1528 startCollectionBuf += 3; // skip 'for' in RewriteObjCForCollectionStmt()
1529 startCollectionBuf = strchr(startCollectionBuf, '('); in RewriteObjCForCollectionStmt()
1530 startCollectionBuf++; // skip '(' in RewriteObjCForCollectionStmt()
1532 while (*startCollectionBuf != ' ' || in RewriteObjCForCollectionStmt()
1533 *(startCollectionBuf+1) != 'i' || *(startCollectionBuf+2) != 'n' || in RewriteObjCForCollectionStmt()
1534 (*(startCollectionBuf+3) != ' ' && in RewriteObjCForCollectionStmt()
1535 *(startCollectionBuf+3) != '[' && *(startCollectionBuf+3) != '(')) in RewriteObjCForCollectionStmt()
1536 startCollectionBuf++; in RewriteObjCForCollectionStmt()
1537 startCollectionBuf += 3; in RewriteObjCForCollectionStmt()
[all …]
H A DRewriteModernObjC.cpp1735 const char *startCollectionBuf = startBuf; in RewriteObjCForCollectionStmt() local
1736 startCollectionBuf += 3; // skip 'for' in RewriteObjCForCollectionStmt()
1737 startCollectionBuf = strchr(startCollectionBuf, '('); in RewriteObjCForCollectionStmt()
1738 startCollectionBuf++; // skip '(' in RewriteObjCForCollectionStmt()
1740 while (*startCollectionBuf != ' ' || in RewriteObjCForCollectionStmt()
1741 *(startCollectionBuf+1) != 'i' || *(startCollectionBuf+2) != 'n' || in RewriteObjCForCollectionStmt()
1742 (*(startCollectionBuf+3) != ' ' && in RewriteObjCForCollectionStmt()
1743 *(startCollectionBuf+3) != '[' && *(startCollectionBuf+3) != '(')) in RewriteObjCForCollectionStmt()
1744 startCollectionBuf++; in RewriteObjCForCollectionStmt()
1745 startCollectionBuf += 3; in RewriteObjCForCollectionStmt()
[all …]