diff options
author | Zachary Turner <zturner@google.com> | 2016-12-13 17:03:49 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-12-13 17:03:49 +0000 |
commit | bc48d20ef77713852f4f0543956c116e8098e44d (patch) | |
tree | 05f2af03c95ba8b0ef3fe8c14a48aeed424e89fc /llvm/lib/Object/IRObjectFile.cpp | |
parent | 09d5daab49a016b6eb6271e9f4b144774b59540e (diff) | |
download | llvm-bc48d20ef77713852f4f0543956c116e8098e44d.zip llvm-bc48d20ef77713852f4f0543956c116e8098e44d.tar.gz llvm-bc48d20ef77713852f4f0543956c116e8098e44d.tar.bz2 |
[ADT] Add llvm::StringLiteral.
StringLiteral is a wrapper around a string literal useful for
replacing global tables of char arrays with global tables of
StringRefs that can initialized in a constexpr context, avoiding
the invocation of a global constructor.
Differential Revision: https://reviews.llvm.org/D27686
llvm-svn: 289551
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions