diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-07-06 15:37:40 +0000 |
---|---|---|
committer | Ed Schouten <ed@nuxi.nl> | 2015-07-06 15:37:40 +0000 |
commit | 2a7ab629e5d44ca69fa66b36549117ace5e9b063 (patch) | |
tree | 78262e5bd922823153c5c89bc14ceb87f09c7b8e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 286e7409df98325a5cc9c911431b7fae6f59a1b3 (diff) | |
download | llvm-2a7ab629e5d44ca69fa66b36549117ace5e9b063.zip llvm-2a7ab629e5d44ca69fa66b36549117ace5e9b063.tar.gz llvm-2a7ab629e5d44ca69fa66b36549117ace5e9b063.tar.bz2 |
Cleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc().
The __cloc() function is only present in case the environment does not
provide a way to refer to the C locale using a compile-time constant
expression. _LIBCPP_GET_C_LOCALE seems to be defined unconditionally.
This improves compilation of the locale code on CloudABI.
Differential Revision: http://reviews.llvm.org/D10690
Reviewed by: jroelofs
llvm-svn: 241454
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions