]> granicus.if.org Git - clang/commit
C++1y literal suffix support:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Jul 2013 08:14:48 +0000 (08:14 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Jul 2013 08:14:48 +0000 (08:14 +0000)
commit4ac537b0f07f2efb9fcf081f60d54e6cfb1cf2d5
tree46f5c8655939b0c184a2a907b2e4d391dfae3bc6
parentfee16225a103ee1459af4f3ecb89fa2804e81ac3
C++1y literal suffix support:
 * Allow ns, us, ms, s, min, h as numeric ud-suffixes
 * Allow s as string ud-suffix

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