|
clang
5.0.0
|
RAII object used to temporarily allow the C++ 'this' expression to be used, with the given qualifiers on the current class type. More...
#include "clang/Sema/Sema.h"
Public Member Functions | |
| CXXThisScopeRAII (Sema &S, Decl *ContextDecl, unsigned CXXThisTypeQuals, bool Enabled=true) | |
| Introduce a new scope where 'this' may be allowed (when enabled), using the given declaration (which is either a class template or a class) along with the given qualifiers. More... | |
| ~CXXThisScopeRAII () | |
RAII object used to temporarily allow the C++ 'this' expression to be used, with the given qualifiers on the current class type.
| Sema::CXXThisScopeRAII::CXXThisScopeRAII | ( | Sema & | S, |
| Decl * | ContextDecl, | ||
| unsigned | CXXThisTypeQuals, | ||
| bool | Enabled = true |
||
| ) |
Introduce a new scope where 'this' may be allowed (when enabled), using the given declaration (which is either a class template or a class) along with the given qualifiers.
along with the qualifiers placed on '*this'.
Definition at line 1034 of file SemaExprCXX.cpp.
References clang::Sema::Context, clang::Sema::CXXThisTypeOverride, clang::Qualifiers::FastMask, clang::ASTContext::getPointerType(), clang::ASTContext::getRecordType(), and clang::QualType::withCVRQualifiers().
| Sema::CXXThisScopeRAII::~CXXThisScopeRAII | ( | ) |
Definition at line 1059 of file SemaExprCXX.cpp.
References clang::Sema::CXXThisTypeOverride, and S.
1.8.6