Lines Matching refs:file_scope
506 static GTY(()) struct c_scope *file_scope; variable
971 return current_scope == file_scope; in global_bindings_p()
1212 else if (scope == file_scope) in pop_scope()
1275 && scope != file_scope in pop_scope()
1305 && scope != file_scope in pop_scope()
1336 else if (VAR_OR_FUNCTION_DECL_P (p) && scope != file_scope) in pop_scope()
1362 if (scope == file_scope) in pop_scope()
1396 if ((scope->function_body || scope == file_scope) && context) in pop_scope()
1429 if (file_scope) in push_file_scope()
1433 file_scope = current_scope; in push_file_scope()
1438 bind (DECL_NAME (decl), decl, file_scope, in push_file_scope()
1447 while (current_scope != file_scope) in pop_file_scope()
1469 file_scope = 0; in pop_file_scope()
1593 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in pushtag()
1632 scope = file_scope; in c_bind()
1641 scope = file_scope; in c_bind()
3210 if ((DECL_EXTERNAL (x) || scope == file_scope) in pushdecl()
3224 if (scope != file_scope in pushdecl()
3670 bind (functionid, decl, file_scope, in implicitly_declare()
4213 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in lookup_tag()
4808 if (current_scope == file_scope && declspecs->storage_class == csc_auto) in shadow_tag_warned()
4814 if (current_scope == file_scope && declspecs->storage_class == csc_register) in shadow_tag_warned()
5194 if (current_scope == file_scope) in start_decl()
5237 if (declspecs->storage_class == csc_auto && current_scope != file_scope) in start_decl()
5274 && current_scope != file_scope in start_decl()
5382 && !(TREE_PUBLIC (decl) && current_scope != file_scope)) in finish_decl()
5985 TREE_STATIC (decl) = (current_scope == file_scope); in build_compound_literal()
6394 && current_scope == file_scope in grokdeclarator()
6501 (current_scope == file_scope) ? 0 : OPT_Wpedantic, in grokdeclarator()
6551 if (current_scope == file_scope) in grokdeclarator()
6562 else if (current_scope == file_scope) in grokdeclarator()
6792 && current_scope == file_scope) in grokdeclarator()
6802 && current_scope == file_scope) in grokdeclarator()
7386 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in grokdeclarator()
7444 || (current_scope == file_scope in grokdeclarator()
7593 else if (current_scope != file_scope) in grokdeclarator()
7632 if (storage_class == csc_auto && current_scope != file_scope) in grokdeclarator()
7698 if (extern_ref && current_scope != file_scope) in grokdeclarator()
7730 if (current_scope == file_scope) in grokdeclarator()
8726 bool toplevel = file_scope == current_scope; in finish_struct()
9177 bool toplevel = (file_scope == current_scope); in finish_enum()
9693 if (current_scope == file_scope) in start_function()