Lines Matching refs:file_scope
497 static GTY(()) struct c_scope *file_scope; variable
962 return current_scope == file_scope; in global_bindings_p()
1203 else if (scope == file_scope) in pop_scope()
1266 && scope != file_scope in pop_scope()
1296 && scope != file_scope in pop_scope()
1324 else if (VAR_OR_FUNCTION_DECL_P (p) && scope != file_scope) in pop_scope()
1350 if (scope == file_scope) in pop_scope()
1384 if ((scope->function_body || scope == file_scope) && context) in pop_scope()
1417 if (file_scope) in push_file_scope()
1421 file_scope = current_scope; in push_file_scope()
1426 bind (DECL_NAME (decl), decl, file_scope, in push_file_scope()
1435 while (current_scope != file_scope) in pop_file_scope()
1457 file_scope = 0; in pop_file_scope()
1581 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in pushtag()
1620 scope = file_scope; in c_bind()
1629 scope = file_scope; in c_bind()
3169 if ((DECL_EXTERNAL (x) || scope == file_scope) in pushdecl()
3183 if (scope != file_scope in pushdecl()
3608 bind (functionid, decl, file_scope, in implicitly_declare()
4149 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in lookup_tag()
4717 if (current_scope == file_scope && declspecs->storage_class == csc_auto) in shadow_tag_warned()
4723 if (current_scope == file_scope && declspecs->storage_class == csc_register) in shadow_tag_warned()
5083 if (current_scope == file_scope) in start_decl()
5126 if (declspecs->storage_class == csc_auto && current_scope != file_scope) in start_decl()
5163 && current_scope != file_scope in start_decl()
5271 && !(TREE_PUBLIC (decl) && current_scope != file_scope)) in finish_decl()
5667 TREE_STATIC (decl) = (current_scope == file_scope); in build_compound_literal()
6070 && current_scope == file_scope in grokdeclarator()
6177 (current_scope == file_scope) ? 0 : OPT_Wpedantic, in grokdeclarator()
6227 if (current_scope == file_scope) in grokdeclarator()
6238 else if (current_scope == file_scope) in grokdeclarator()
6468 && current_scope == file_scope) in grokdeclarator()
6478 && current_scope == file_scope) in grokdeclarator()
7062 || (current_scope == file_scope && B_IN_EXTERNAL_SCOPE (b))) in grokdeclarator()
7120 || (current_scope == file_scope in grokdeclarator()
7272 else if (current_scope != file_scope) in grokdeclarator()
7311 if (storage_class == csc_auto && current_scope != file_scope) in grokdeclarator()
7377 if (extern_ref && current_scope != file_scope) in grokdeclarator()
7409 if (current_scope == file_scope) in grokdeclarator()
8394 bool toplevel = file_scope == current_scope; in finish_struct()
8825 bool toplevel = (file_scope == current_scope); in finish_enum()
9309 if (current_scope == file_scope) in start_function()