diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-05-21 00:13:09 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-05-21 00:13:09 +0000 |
commit | 012665e16b81bf5a702178aa9ffa8a8e040ff619 (patch) | |
tree | 509ca50022fe7296ad9b09b10ee88e27bacc3714 /clang/lib/Lex/Preprocessor.cpp | |
parent | b4a26ed58e615a86721f38640864324ed4555bd1 (diff) | |
download | llvm-012665e16b81bf5a702178aa9ffa8a8e040ff619.zip llvm-012665e16b81bf5a702178aa9ffa8a8e040ff619.tar.gz llvm-012665e16b81bf5a702178aa9ffa8a8e040ff619.tar.bz2 |
Rename a helper template function to 'bytes' to avoid a C++17 STL conflict
MSVC 2015 includes the std::data() template function added to C++17. ADL
causes both cl.exe and clang-cl to prefer std::data over our static
helper here, and we get errors about converting int64_t* to StringRef.
Renaming it to bytes avoids the ambiguity.
llvm-svn: 237863
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions