5#include <llvm/Support/raw_ostream.h>
38 throw std::runtime_error(
message);
44 llvm::raw_string_ostream{this->message} << std::forward<decltype(other)>(other);
52 llvm::raw_ostream*
stream{&llvm::errs()};
61 unique_ptr<llvm::raw_string_ostream>
buffer_stream = std::make_unique<llvm::raw_string_ostream>(
buffer);
64 this->
stream = buffer_stream.get();
Represents a location in source code, as a range starting at a line and column and ending at some oth...
auto operator=(Note &&) -> Note &=default
auto operator=(const Note &) -> Note &=delete
Note(const Note &)=delete
Note(NotesHolder *holder, string message, Loc location, Severity severity=Severity::Note)
auto operator<<(auto &&other) -> Note &
vector< SourceFile * > context_files
auto emit(Loc location, Severity severity=Severity::Note) -> Note
llvm::raw_ostream * stream
unique_ptr< llvm::raw_string_ostream > buffer_stream
StringNotesHolder(vector< SourceFile * > context_files={})