]> granicus.if.org Git - clang/commit
Revert "Change Builtins name to be stored as StringRef instead of raw pointers (NFC)"
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Oct 2016 19:04:24 +0000 (19:04 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Oct 2016 19:04:24 +0000 (19:04 +0000)
commit4e291ad04928930cbf181b25a229011f4d810fb1
tree0cadd26275b9c32556179d14b26ccc008bdc113a
parent475ec9b9c263e7e95694609db150de916e178827
Revert "Change Builtins name to be stored as StringRef instead of raw pointers (NFC)"

This reverts commit r283802. It introduces temporarily static
initializers, because StringRef ctor isn't (yet) constexpr for
string literals.
I plan to get there this week, but apparently GCC is so terrible
with these static initializer right now (10 min+ extra codegen
time was reported) that I'll hold on to this patch till the
constexpr one is ready, and land these at the same time.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283920 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.h
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaChecking.cpp