]> granicus.if.org Git - clang/commit
Allow lexer to handle string_view literals. Patch from Anton Bikineev.
authorEric Fiselier <eric@efcs.ca>
Fri, 30 Dec 2016 04:51:10 +0000 (04:51 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 30 Dec 2016 04:51:10 +0000 (04:51 +0000)
commit904c87881414c4e06bf4254cacebd372b3f4c952
tree8680ac5df46c77b0058430f665914c933d64bcb4
parentfd7e95640dcd0fa6009b176bc47a96b70a231a23
Allow lexer to handle string_view literals. Patch from Anton Bikineev.

This implements the compiler side of p0403r0. This patch was reviewed as
https://reviews.llvm.org/D26829.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290744 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/LiteralSupport.h
lib/Lex/Lexer.cpp
lib/Lex/LiteralSupport.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/cxx1z-user-defined-literals.cpp [new file with mode: 0644]