Lines Matching defs:Source
2 * Copyright (C) 2015 The Android Open Source Project
32 struct Source {
36 Source() = default;
38 inline Source(const StringPiece& path) : path(path.toString()) {
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) {
44 inline Source withLine(size_t line) const {
45 return Source(path, line);
53 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) {
61 inline bool operator==(const Source& lhs, const Source& rhs) {
65 inline bool operator<(const Source& lhs, const Source& rhs) {