Update comment.
authorRui Ueyama <ruiu@google.com>
Thu, 24 Nov 2016 01:44:21 +0000 (01:44 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 24 Nov 2016 01:44:21 +0000 (01:44 +0000)
llvm-svn: 287850

lld/ELF/Error.h

index 2583a86..1ec6835 100644 (file)
@@ -12,8 +12,8 @@
 // Fatal makes the program exit immediately with an error message.
 // You shouldn't use it except for reporting a corrupted input file.
 //
-// Error prints out an error message and set a global variable ErrorCount
-// to true to record the fact that we met an error condition. It does
+// Error prints out an error message and increment a global variable
+// ErrorCount to record the fact that we met an error condition. It does
 // not exit, so it is safe for a lld-as-a-library use case. It is generally
 // useful because it can report more than one errors in a single run.
 //