llvm-project/libcxx
Eric Fiselier 81d0dbda79 Address "always inline function is not always inlinable" warning with GCC.
When an always_inline function is used prior to the functions definition,
the compiler may not be able to inline it as requested by the attribute.
GCC flags the `basic_string(CharT const*)` function as one such example.

This patch supresses the warning, and the problem, by moving the
definition of the string constructor to the inline declaration.
This ensures the body is available when it is first ODR used.

llvm-svn: 337235
2018-07-17 05:48:48 +00:00
..
benchmarks Add new string benchmarks 2018-07-10 04:11:22 +00:00
cmake Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
docs [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 2018-07-11 23:14:33 +00:00
fuzzing Wrote my own version of is_permutation; that was dominating the timings 2018-01-19 03:17:45 +00:00
include Address "always inline function is not always inlinable" warning with GCC. 2018-07-17 05:48:48 +00:00
lib [CMake] Rename cxx_headers back to cxx-headers. 2018-06-28 18:35:35 +00:00
src Fix PR38160 - init_priority attribute not supported by GCC on Apple. 2018-07-16 20:01:59 +00:00
test Fix a couple of 'unused variable' warnings in a vector test. NFC. 2018-07-13 16:26:16 +00:00
utils Remove BUILD file from google-benchmark 2018-07-10 13:25:26 +00:00
www Fix HTML blunder 2018-07-05 17:44:12 +00:00
.arcconfig [libcxx] Set up .arcconfig to point to new Diffusion CXX repository 2017-12-04 17:55:28 +00:00
.clang-format Make clang-format use C++03 syntax 2017-04-15 02:45:43 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [CMake] Set per-runtime library directory suffix in runtimes build 2018-07-10 19:13:33 +00:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:53 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT Add list of filesystem NB comments to TODO.TXT so they can be tracked separately 2017-03-06 21:23:36 +00:00
appveyor-reqs-install.cmd Update Clang version on Appveyor bots 2018-04-04 04:33:09 +00:00
appveyor.yml Rename Appveyor install helper script. 2017-05-10 02:43:02 +00:00