reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1867 ConvertSourceLocationToLineDirective(SynchLoc, buf); 1868 buf += "{ id _rethrow = 0; id _sync_obj = (id)"; 1872 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); 1874 buf = "; objc_sync_enter(_sync_obj);\n"; 1875 buf += "try {\n\tstruct _SYNC_EXIT { _SYNC_EXIT(id arg) : sync_exit(arg) {}"; 1876 buf += "\n\t~_SYNC_EXIT() {objc_sync_exit(sync_exit);}"; 1877 buf += "\n\tid sync_exit;"; 1878 buf += "\n\t} _sync_exit(_sync_obj);\n"; 1891 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf); 1897 buf = "} catch (id e) {_rethrow = e;}\n"; 1898 Write_RethrowObject(buf); 1899 buf += "}\n"; 1900 buf += "}\n"; 1902 ReplaceText(startRBraceLoc, 1, buf);