Rvalue references for *this:
commit3b8197bea6aebc076b3bc20d6b907906931e1184
authorDouglas Gregor <doug.gregor@gmail.com>
Wed, 26 Jan 2011 05:01:58 +0000 (26 05:01 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Wed, 26 Jan 2011 05:01:58 +0000 (26 05:01 +0000)
tree18f571ca026a157117dd0d09a1322462e69a1554
parent1428d2e76084c132c39131a04726beaa5fbec9fe
Rvalue references for *this:

  - Add ref-qualifiers to the type system; they are part of the
  canonical type. Print & profile ref-qualifiers
  - Translate the ref-qualifier from the Declarator chunk for
    functions to the function type.
  - Diagnose mis-uses of ref-qualifiers w.r.t. static member
  functions, free functions, constructors, destructors, etc.
  - Add serialization and deserialization of ref-qualifiers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124281 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/AST/Type.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp [new file with mode: 0644]
test/CXX/special/class.ctor/p4-0x.cpp [new file with mode: 0644]
test/CXX/special/class.dtor/p2-0x.cpp [new file with mode: 0644]