📄 fix-and-continue-2.m
字号:
/* Static variables, even if local, require indirect access through a stub if -mfix-and-continue is enabled. *//* Author: Ziemowit Laski <zlaski@apple.com> */ /* { dg-do assemble { target *-*-darwin* } } *//* { dg-options "-mfix-and-continue" } */#include <objc/Object.h>@interface Foo: Object+ (Object *)indexableFileTypes;@end@implementation Foo+ (Object *)indexableFileTypes{ static Object *fileTypes = 0; if(!fileTypes) { fileTypes = [Object new]; } return fileTypes;}@end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -