reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3119     assert((cursor && endBuf)
 3136     if (BufferContainsPPDirectives(startBuf, cursor)) {
 3144         while (endHeader < cursor && *endHeader != '>') endHeader++;
 3151       ReplaceText(LocStart, cursor-startBuf, Result);
 3162         LocStart.getLocWithOffset(cursor-startBuf+1);
 3165     cursor++; // past '{'
 3168     while (cursor < endBuf) {
 3169       if (*cursor == '@') {
 3170         SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
 3172         for (++cursor; cursor[0] == ' ' || cursor[0] == '\t'; ++cursor)
 3172         for (++cursor; cursor[0] == ' ' || cursor[0] == '\t'; ++cursor)
 3172         for (++cursor; cursor[0] == ' ' || cursor[0] == '\t'; ++cursor)
 3172         for (++cursor; cursor[0] == ' ' || cursor[0] == '\t'; ++cursor)
 3177         if (!strncmp(cursor, "public", strlen("public")) ||
 3178             !strncmp(cursor, "private", strlen("private")) ||
 3179             !strncmp(cursor, "package", strlen("package")) ||
 3180             !strncmp(cursor, "protected", strlen("protected")))
 3186       else if (*cursor == '<') {
 3187         SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
 3189         cursor = strchr(cursor, '>');
 3189         cursor = strchr(cursor, '>');
 3190         cursor++;
 3191         atLoc = LocStart.getLocWithOffset(cursor-startBuf);
 3193       } else if (*cursor == '^') { // rewrite block specifier.
 3194         SourceLocation caretLoc = LocStart.getLocWithOffset(cursor-startBuf);
 3197       cursor++;