Lines Matching refs:Get
27 static Namespace* GetDefaultNamespace() { return Get().default_namespace_; }
36 return Get().declarables_;
40 Get().cpp_includes_.insert(std::move(include_path));
43 return Get().cpp_includes_;
47 Get().collect_language_server_data_ = true;
50 return Get().collect_language_server_data_;
52 static void SetCollectKytheData() { Get().collect_kythe_data_ = true; }
53 static bool collect_kythe_data() { return Get().collect_kythe_data_; }
55 Get().force_assert_statements_ = true;
58 return Get().force_assert_statements_;
60 static void SetAnnotateIR() { Get().annotate_ir_ = true; }
61 static bool annotate_ir() { return Get().annotate_ir_; }
62 static Ast* ast() { return &Get().ast_; }
64 return base + "_" + std::to_string(Get().fresh_ids_[base]++);
97 PerFileStreams& result = Get().generated_per_file_[file];
103 DCHECK(!Get().instance_types_initialized_);
104 Get().instance_types_initialized_ = true;
107 return Get().instance_types_initialized_;
110 GlobalContext& c = Get();
118 return Get().macros_for_cc_output_;
141 return GlobalContext::Get().RegisterDeclarable(std::move(d));
148 static size_t TaggedSize() { return Get().tagged_size_; }
149 static size_t RawPtrSize() { return Get().raw_ptr_size_; }
150 static size_t ExternalPointerSize() { return Get().external_ptr_size_; }
153 static int SmiTagAndShiftSize() { return Get().smi_tag_and_shift_size_; }