Searched refs:SourceId (Results 1 – 2 of 2) sorted by relevance
14 class SourceId {16 explicit SourceId(int id) : id_(id) {} in SourceId() function22 SourceId source;27 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourceFile, SourceId) in DECLARE_CONTEXTUAL_VARIABLE() argument33 static const std::string& GetSource(SourceId source) { in DECLARE_CONTEXTUAL_VARIABLE()37 static SourceId AddSource(std::string path) { in DECLARE_CONTEXTUAL_VARIABLE()39 return SourceId(static_cast<int>(Get().sources_.size()) - 1); in DECLARE_CONTEXTUAL_VARIABLE()
44 SourceId source_id = SourceFileMap::AddSource(path); in WrappedMain()