Lines Matching refs:Label
22 class Label {
24 Label();
28 Label(const SourceDir& dir,
34 Label(const SourceDir& dir, std::string_view name);
39 static Label Resolve(const SourceDir& current_dir,
41 const Label& current_toolchain,
55 // Returns the current label's toolchain as its own Label.
56 Label GetToolchainLabel() const;
59 Label GetWithNoToolchain() const;
70 std::string GetUserVisibleName(const Label& default_toolchain) const;
72 bool operator==(const Label& other) const {
77 bool operator!=(const Label& other) const { return !operator==(other); }
78 bool operator<(const Label& other) const {
96 bool ToolchainsEqual(const Label& other) const {
104 Label(SourceDir dir, StringAtom name)
107 Label(SourceDir dir,
138 struct hash<Label> {
139 std::size_t operator()(const Label& v) const { return v.hash(); }