[PATCH] GCC compatibility: Ignore -finput_charset=UTF-8 argument. It is the default in Clang.Currently, we fail with an error.
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Tue Jul 1 06:10:41 PDT 2014
The formatting looks a bit funny too.
LGTM with the patch clang-formated.
================
Comment at: lib/Driver/Tools.cpp:3917
@@ +3916,3 @@
+ options::OPT_finput_charset_EQ)) {
+ StringRef value = inputCharset->getValue();
+ if (value != "UTF-8")
----------------
Value
http://reviews.llvm.org/D4347
More information about the cfe-commits
mailing list