summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringMap.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-08-23 16:47:09 +0000
committerNico Weber <nicolasweber@gmx.de>2016-08-23 16:47:09 +0000
commit97f446c04217045e181d6a88e1ad3a5ca55601a5 (patch)
treeabb49020c50e20b50ed25dbcaecbbc2a96b9d059 /llvm/lib/Support/StringMap.cpp
parent5c269d0b7aad7d8171a68b292ffeefcf1dc9c681 (diff)
downloadbcm5719-llvm-97f446c04217045e181d6a88e1ad3a5ca55601a5.tar.gz
bcm5719-llvm-97f446c04217045e181d6a88e1ad3a5ca55601a5.zip
clang-cl: Accept MSVC 2015's `/source-charset:utf-8` flag.
clang already treats all inputs as utf-8. Warn if anything but utf-8 is passed. Do this by mapping source-charset to finput-charset, which already behaves like this. Slightly tweak finput-charset to accept "utf-8" case-insensitively. This matches gcc's and cl.exe's behavior, and IANA says that character set names are case-insensitive. https://reviews.llvm.org/D23807 llvm-svn: 279531
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud