Lines Matching refs:string
24 #include <string>
32 using AbiElementMap = std::map<std::string, T>;
35 using AbiElementUnorderedMap = std::unordered_map<std::string, T>;
88 const std::string &GetLinkerSetKey() const {
92 void SetSourceFile(const std::string &source_file) {
96 void SetLinkerSetKey(const std::string &linker_set_key) {
100 const std::string &GetSourceFile() const {
107 // The source file where this message comes from. This will be an empty string
109 std::string source_file_;
110 std::string linker_set_key_;
115 void SetReferencedType(const std::string &referenced_type) {
119 const std::string &GetReferencedType() const {
123 ReferencesOtherType(const std::string &referenced_type)
126 ReferencesOtherType(std::string &&referenced_type)
132 std::string referenced_type_;
139 void SetSelfType(const std::string &self_type) {
143 const std::string &GetSelfType() const {
147 void SetName(const std::string &name) {
151 const std::string &GetName() const {
171 std::string name_;
172 std::string self_type_;
179 const std::string &GetUniqueId() const {
183 void SetUniqueId(const std::string &unique_id) {
188 std::string unique_id_;
204 VTableComponentIR(const std::string &name, Kind kind, int64_t value)
217 const std::string &GetName() const {
222 std::string component_name_;
247 CXXBaseSpecifierIR(const std::string &type, bool is_virtual,
268 TemplateElementIR(std::string &&type)
271 TemplateElementIR(const std::string &type)
315 RecordFieldIR(const std::string &name, const std::string &type,
322 const std::string &GetName() const {
335 std::string name_;
430 EnumFieldIR(const std::string &name, int value)
432 const std::string &GetName() const {
441 std::string name_;
462 void SetUnderlyingType(std::string &&underlying_type) {
466 void SetUnderlyingType(const std::string &underlying_type) {
470 const std::string &GetUnderlyingType() const {
484 std::string underlying_type_;
584 void SetName(std::string &&name) {
588 void SetName(const std::string &name) {
592 const std::string &GetName() const {
609 std::string name_;
615 ParamIR(const std::string &type, bool is_default, bool is_this_ptr) :
634 void SetReturnType(const std::string &type) {
638 const std::string &GetReturnType() const {
654 std::string return_type_; // return type reference
680 void SetName(const std::string &name) {
684 const std::string &GetName() const {
689 std::string linkage_name_;
690 std::string name_;
701 const std::string GetName() const {
705 ElfSymbolIR(const std::string &name) : name_(name) { }
712 std::string name_;
721 ElfFunctionIR(const std::string &name) : ElfSymbolIR(name) { }
730 ElfObjectIR(const std::string &name) : ElfSymbolIR(name) { }
735 IRDumper(const std::string &dump_path) : dump_path_(dump_path) { }
738 TextFormatIR text_format, const std::string &dump_path);
749 const std::string &dump_path_;
753 inline std::string GetReferencedTypeMapKey(
759 inline std::string GetReferencedTypeMapKey<ArrayTypeIR>(
765 inline std::string GetReferencedTypeMapKey<BuiltinTypeIR>(
770 inline static std::string BoolToString(bool val) {
775 inline std::string GetReferencedTypeMapKey<QualifiedTypeIR>(
781 inline std::string GetODRListMapKey(const RecordTypeIR *record_type_ir) {
788 inline std::string GetODRListMapKey(const EnumTypeIR *enum_type_ir) {
792 inline std::string GetODRListMapKey(const FunctionTypeIR *function_type_ir) {
819 std::string type_id_;
820 MergeStatus(bool was_newly_added, const std::string &type_id)
825 TextFormatToIRReader(const std::set<std::string> *exported_headers)
891 virtual bool ReadDump(const std::string &dump_file) = 0;
922 void AddToODRListMap(const std::string &key, const TypeIR *value);
928 AbiElementMap<T> *parent_map, const std::string &updated_self_type_id);
932 const std::string ud_type_unique_id,
942 const std::string &updated_self_type_id);
1018 const TypeIR *addend_node, const std::string &added_type_id,
1029 std::string AllocateNewTypeId();
1033 const std::set<std::string> *exported_headers = nullptr);
1066 const std::set<std::string> *exported_headers_;
1082 void SetName(const std::string &name) {
1086 const std::string &GetName() const {
1093 std::string name_;
1305 std::unique_ptr<std::pair<std::string, std::string>> &&utype_diff) {
1309 const std::pair<std::string, std::string> *GetUnderlyingTypeDiff() const {
1337 std::unique_ptr<std::pair<std::string, std::string>> underlying_type_diff_;
1342 std::string name_;
1395 IRDiffDumper(const std::string &dump_path) : dump_path_(dump_path) { }
1398 const std::string &type_stack,
1407 virtual void AddLibNameIR(const std::string &name) = 0;
1409 virtual void AddArchIR(const std::string &arch) = 0;
1419 TextFormatIR, const std::string &dump_path);
1421 const std::string &dump_path_;