diff options
author | Sean Hunt <rideau3@gmail.com> | 2009-11-29 07:34:05 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2009-11-29 07:34:05 +0000 |
commit | 3e518bda00d710754ca077cf9be8dd821e16a854 (patch) | |
tree | 5d16331c76efc8c38935955af19bb351d7a2dcea /lib/Frontend/PCHReader.cpp | |
parent | f219e7c1529fac29e34483667f740b452e5ef9cc (diff) |
Add DeclarationName support for C++0x operator literals. They should now work as
function names outside of templates - they'll probably cause some damage there as
they're largely untested.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
-rw-r--r-- | lib/Frontend/PCHReader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index ec9834894f..cb96bcb48a 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/lib/Frontend/PCHReader.cpp @@ -2589,6 +2589,10 @@ PCHReader::ReadDeclarationName(const RecordData &Record, unsigned &Idx) { return Context->DeclarationNames.getCXXOperatorName( (OverloadedOperatorKind)Record[Idx++]); + case DeclarationName::CXXLiteralOperatorName: + return Context->DeclarationNames.getCXXLiteralOperatorName( + GetIdentifierInfo(Record, Idx)); + case DeclarationName::CXXUsingDirective: return DeclarationName::getUsingDirectiveName(); } |