Use llvm's CommandLine for parsing (#332)

This commit is contained in:
Jon Meow authored and GitHub committed 2021-03-02 15:16:17 -08:00
1 parent d48b17adc7
commit 30648724c9
4 files changed
+19 -8

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
namespace Carbon {
char* input_filename = nullptr;
const char* input_filename = nullptr;
void PrintSyntaxError(char* error, int line_num) {
std::cerr << input_filename << ":" << line_num << ": " << error << std::endl;