diff options
author | Sean Hunt <rideau3@gmail.com> | 2009-11-28 04:44:28 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2009-11-28 04:44:28 +0000 |
commit | 0486d746019f8310589b1f0d92edcc4bb3916b33 (patch) | |
tree | f7fa24cb412e8bfc8d818a46e13b27e4d8382a32 /lib/Sema/SemaType.cpp | |
parent | fa3e82ba04d175c89d622440def682f651542061 (diff) |
Add Parser support for C++0x literal operators ('operator "" i').
DeclarationName can't handle them yet, so right now Parser just errors out on them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 00dc809f51..afce5e33ba 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -879,6 +879,7 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S, switch (D.getName().getKind()) { case UnqualifiedId::IK_Identifier: case UnqualifiedId::IK_OperatorFunctionId: + case UnqualifiedId::IK_LiteralOperatorId: case UnqualifiedId::IK_TemplateId: T = ConvertDeclSpecToType(D, *this); |